Skip to content

Can not install @angular/cli@1.5.4 using NPM #9328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shenqinb opened this issue Jan 23, 2018 · 2 comments
Closed

Can not install @angular/cli@1.5.4 using NPM #9328

shenqinb opened this issue Jan 23, 2018 · 2 comments

Comments

@shenqinb
Copy link

can not install @1.5.4 using command: sudo npm install @1.5.4 -g

it fails with error @0.0.51 requires a peer of @0.0.28 but none was installed.

after installation, command "ng -v" doesn't work, it show below errors:
module.js:471
throw err;
^

Error: Cannot find module ''
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules//node_modules//src/tree/virtual.js:10:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

@filipesilva
Copy link
Contributor

Thanks for reporting this issue. However, this issue is a duplicate of an existing issue #9283 (comment). Please subscribe to that issue for future updates.

Please see #9283 (comment) for a list of released versions that address this.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants