Angular-cli: During CLI updation problem facing

Created on 21 Feb 2017  路  3Comments  路  Source: angular/angular-cli

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

Most helpful comment

@aminsmartsense

Please follow below step for resolve your issue

  1. First you need to update node sudo n stable
  2. Install letest CLI npm install -g angular-cli
  3. clone your project or create your project
  4. npm install
  5. If any error accrued then remove node_module
  6. npm install
  7. Install Typescriptnpm install typescript -g

If any module not install please try with sudo.

All 3 comments

@aminsmartsense

Please follow below step for resolve your issue

  1. First you need to update node sudo n stable
  2. Install letest CLI npm install -g angular-cli
  3. clone your project or create your project
  4. npm install
  5. If any error accrued then remove node_module
  6. npm install
  7. Install Typescriptnpm install typescript -g

If 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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bjornharvold picture bjornharvold  路  172Comments

zpydee picture zpydee  路  102Comments

vinodbhargava picture vinodbhargava  路  214Comments

ankeshdave picture ankeshdave  路  161Comments

DanielStep picture DanielStep  路  184Comments