公告
财富商城
积分规则
提问
发文
2019-06-03 19:57发布
\"骚年 ilove
node -v v4.5.0 npm -v 5.0.1
node -v
v4.5.0
npm -v
5.0.1
Has anyone faced this kind of issue while installing angular-cli in windows 10?
try this :
$ npm remove -g angular-cli $ npm cache clean $ npm install -g angular-cli
Try the following:
step 0: run this command
npm uninstall -g @angular/cli npm cache clean
step 1: delete this folder: C:\Users\%YOUR-USERNAME%\AppData\Roaming\npm
C:\Users\%YOUR-USERNAME%\AppData\Roaming\npm
step 2: uninstall Nodejs from Windows
step 3: restart your PC
step 4: install a fresh copy of Nodejs from here: https://nodejs.org/en/
step 5: install the CLI globally
npm install -g @angular/cli@latest
Check the path(npm -v, node -v)ie for Setting Path variable https://stackoverflow.com/a/32159233/4720950
User Variable C:\Users\Username\AppData\Roaming\npm System Variable C:\Program Files\nodejs
Restart System & update,clean npm https://stackoverflow.com/a/45020014
npm install npm@latest -g npm cache clean
Uninstall prev angular cli and then install angular cli again
npm uninstall -g angular-cli npm install -g @angular/cli
最多设置5个标签!
try this :
Try the following:
step 0: run this command
step 1: delete this folder:
C:\Users\%YOUR-USERNAME%\AppData\Roaming\npm
step 2: uninstall Nodejs from Windows
step 3: restart your PC
step 4: install a fresh copy of Nodejs from here: https://nodejs.org/en/
step 5: install the CLI globally
Check the path(npm -v, node -v)ie for Setting Path variable https://stackoverflow.com/a/32159233/4720950
Restart System & update,clean npm https://stackoverflow.com/a/45020014
Uninstall prev angular cli and then install angular cli again