angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Angular-cli installs but doesnt start new project: package install failed, see above

Open ktn00b opened this issue 9 years ago • 24 comments

BUILD: Windows 10 angular-cli: 1.0.0-beta.24 node: 6.9.4 os: win32 x64 npm: 3.10.10

LOG for ng new command

LOG for npm install -g -f angular-cli

I cant start a new project in angular-cli, I get some errors while giving the command "ng new xyz-app"

FYI I uninstalled and re-installed angular-cli using the -f handle, after going through other threads describing a similar issue. That did not help. I also reinstalled node (was on npm 4.0.5 earlier, now on 3.10.10). Error on starting new project is:

Package Install failed, see above.

If I anyway cd into the xyz directory and run npm serve, I get-

You seem to not be dependending on "@angular/core". This is an error.

I just had a look at installation log, it is full of errors.

ktn00b avatar Jan 09 '17 01:01 ktn00b

Try Below one--- npm set registry https://registry.npmjs.org/ npm cache clean --force npm cache verify npm install

babakhalid12 : It's working.. Thanks

rajulverma avatar Feb 21 '19 09:02 rajulverma

i also have problem too

Lei-Wang1997 avatar Apr 06 '19 13:04 Lei-Wang1997

hello to all........... I m working on a project based on angular js latest I developed all my code successfully but when I run it it shows me your project site is under construction. your convenience is needed and there is no third party enrollment involve.It designed by myself not in any group or with any partner. help me to comes out from this problem.

error

Thanks........

Shubh 8619257539

arunbharmal avatar Jul 19 '19 12:07 arunbharmal

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.