npm install cnpm -g --registry=https://registry.npm.taobao.org
Add the C: \ Users \ username \ AppData \ Roaming \ npm directory to the system environment variable Path, and then restart.
npm install cnpm -g --registry=https://registry.npm.taobao.org
Add the C: \ Users \ username \ AppData \ Roaming \ npm directory to the system environment variable Path, and then restart.