It seems to be solved. When clearing angular-cli, you need to clear the cache, npm uninstall -g angular-cli npm cache clean Also delete the ng and ng.cmd files, and then use Taobao mirror to install: npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install -g angular-cli
It seems to be solved. When clearing angular-cli, you need to clear the cache,
npm uninstall -g angular-cli
npm cache clean
Also delete the ng and ng.cmd files, and then use Taobao mirror to install:
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g angular-cli
First of all, have you installed Python? If not, install it
https://www.python.org/downlo...
If it has been installed, check if the path is c:/python27/python.exe
Add python to the windows environment variable, the method is Baidu