I am trying to install @angular/cli using npm. Below error I am getting while I am trying to install. What can I do for it?enter image description here
Asked
Active
Viewed 192 times
-1
-
1This is a duplicate of https://stackoverflow.com/questions/24721903/npm-cli-js-not-found-when-running-npm – fjc Jul 12 '18 at 09:57
-
3Possible duplicate of [npm-cli.js not found when running npm](https://stackoverflow.com/questions/24721903/npm-cli-js-not-found-when-running-npm) – fjc Jul 12 '18 at 09:57
-
Now It's working fine. Thanks. – Debasish Halder Jul 12 '18 at 10:14
1 Answers
0
Seems that problem is in env variables of nodejs
.
Try set properly path to nodejs
SET PATH=C:\Program Files\Nodejs;%PATH%

Maxim Kasyanov
- 938
- 5
- 14
-
I run it from command prompt. It is working fine. Thanks @Maxim – Debasish Halder Jul 12 '18 at 10:13
-