Angular-cli: I have install new cli but below error occured on my project

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

 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

Most helpful comment

I have fixed issue my self. Please follow below step for resolve your issue.

1.First you need to update node sudo n stable

  1. Install letest CLI npm install -g angular-cli
  2. Clone your project or create your project
  3. npm install
  4. If any error accrued then remove node_module directory
  5. npm install
  6. Install Typescript npm install typescript -g

If any module not install please try with sudo.

All 12 comments

@smartHasmukh can you please use the issue template when filing an issue?

@beeman Yes, sure. But can you please tell me what is issue template because I am aware of this. You mean by screenshot??
Thanks

It's the template you get when you create a new issue: https://github.com/angular/angular-cli/issues/new

@beeman Got it Thanks. but please answer me my question. I have tried to find out this solutions but I cant solved this

@smartHasmukh Without the information in the issue template there's not so much to solve. Please submit the issue as requested. These questions are asked for a reason: to make troubleshooting easier.

Hello @beeman,

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 first comment.

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 it's probably best to open your own issue for this, not hijacking the one from @smartHasmukh

@beeman Sorry for say this. I know this is our own issue, but we are not able to where we solve this issue and add issue. so we are just taking help from your side.

Thanks

I have fixed issue my self. Please follow below step for resolve your issue.

1.First you need to update node sudo n stable

  1. Install letest CLI npm install -g angular-cli
  2. Clone your project or create your project
  3. npm install
  4. If any error accrued then remove node_module directory
  5. npm install
  6. Install Typescript npm install typescript -g

If any module not install please try with sudo.

thanks you

@clausche Welcome

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