Hello,
We have update angular CLI version and node version so on running project we got some errors and we are using WebStrom in that whenever I open my project that time only opened files not displaying any folders. and when I am installing npm and CLI that time I am facing error like below.
npm ERR! Linux 4.4.0-63-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'ng serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the vadtal-cli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vadtal-cli
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vadtal-cli
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/sampleproject/public/vadtal_upgradation/npm-debug.log
And whenever I am updating npm
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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of jss@^2.1.0 but none was installed.
We are using Ubutnu OS.
Ubutnu Version 16.04 LTS
Node Version : 7.4.0
npm Version : 4.0.5
We are using 3 laptops with same configurations but in one system working fine other two are facing same issue.
Thanks
@aminsmartsense
Please follow below step for resolve your issue
sudo n stablenpm install -g angular-clinpm install node_module npm install npm install typescript -gIf any module not install please try with sudo.
@smartHasmukh Working fine..
Thanks
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
@aminsmartsense
Please follow below step for resolve your issue
sudo n stablenpm install -g angular-clinpm installnode_modulenpm installnpm install typescript -gIf any module not install please try with
sudo.