After npm install succeeded the following output was given, which I think seems legit.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN The package material-design-lite is included as both a dev and production dependency.
Performing ng serve builds up to 69% of the modules and quits with error message:
69% building modules 1092/1093 modules 1 active ...ideaflow-profiler/src/stylesHash: 2695d0ed9a3f170bb472
Time: 43521ms
chunk {0} main.bundle.js, main.bundle.js.map (main) 66 kB {2} [initial] [rendered]
chunk {1} styles.bundle.js, styles.bundle.js.map (styles) 71.7 kB {3} [initial] [rendered]
chunk {2} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.52 MB [initial] [rendered]
chunk {3} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in Error encountered resolving symbol values statically. Could not resolve ng2-google-charts relative to /Develop/IdeaFlow/ideaflow-profiler/src/app/app.module.ts., resolving symbol AppModule in /Develop/IdeaFlow/ideaflow-profiler/src/app/app.module.ts, resolving symbol AppModule in /Develop/IdeaFlow/ideaflow-profiler/src/app/app.module.ts
ERROR in /Develop/IdeaFlow/ideaflow-profiler/src/app/app.module.ts (9,39): Cannot find module 'ng2-google-charts'.)
ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve 'ng2-google-charts' in '/Develop/IdeaFlow/ideaflow-profiler/src/app'
@ ./src/app/app.module.ts 15:0-58
@ ./src/app/index.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
webpack: Failed to compile.'''
I expected to see a shiny nice profiler application when accessing http://localhost:4200/ as I do using macOS 10.12.
Important Versions
Component
Version
OS
Linux B116M 4.10.2-1-ARCH #1 SMP PREEMPT Mon Mar 13 17:13:41 CET 2017 x86_64 GNU/Linux
ng
@angular/cli: 1.0.0-rc.2
node
v7.7.3
npm
4.4.1
Additional Information
When using curl http://localhost:4200/ I can see that the server is contacted and does stuff. Since curl is unable to interpret and render JavaScript this is an expected behaviour.
Done Steps
npm install
ng serve
Actual Behaviour
After
npm install
succeeded the following output was given, which I think seems legit.Performing
ng serve
builds up to 69% of the modules and quits with error message:Navigating to http://localhost:4200/ leads to:
Expected Behaviour
I expected to see a shiny nice profiler application when accessing http://localhost:4200/ as I do using macOS 10.12.
Important Versions
ng
node
npm
Additional Information
When using
curl http://localhost:4200/
I can see that the server is contacted and does stuff. Since curl is unable to interpret and render JavaScript this is an expected behaviour.