The problem is: npm proxy problem.
Solution:
Use Taobao mirror source:
npm install -g cnpm --registry=https://registry.npm.taobao.org
Then use the cnpm command to install.
The problem is: npm proxy problem.
Solution:
Use Taobao mirror source:
npm install -g cnpm --registry=https://registry.npm.taobao.org
Then use the cnpm command to install.