Blank screen on starting
saurabhvyas opened this issue · comments
I installed everything as given in tutorial then I ran the command node server/index.js and in temrinal it said running on port 9000,but it gives me an empty blank page
Can you share some details?
Console output, node version, operating system etc
You started the app with gulp serve
?
What is inside the dist folder?
I started with gulp serve
Dist folder:
\---client
| angular.ico
| boot.css
| boot.js
| boot.js.map
| index.html
| vendor.js
| vendor.js.map
|
\---css
about.css
That seems fine, the gulp task generates the files.
Can you check what is the static file path what is generated on the server?
server/config.js
config.staticPath = C:\Users\jsinger\Desktop\angular2-es6-starter\dist\client
that one also seems right
Found the issue: koajs/static#78
Needed to upgrade Node to 5.7.1 or later.
I'm runnig Node 5.10.1, that is why mine was working fine.