1.运行命令npm config set registry https://registry.npmjs.org/;
2.再运行命令npm install -g cnpm@7.1.0 --registry=http://registry.npmmirror.com
1.运行命令npm config set registry https://registry.npmjs.org/;
2.再运行命令npm install -g cnpm@7.1.0 --registry=http://registry.npmmirror.com