1、npm config set prefix "D:\js_soft\node_global"

2、npm config set cache "D:\js_soft\node_cache"

3、重置镜像路径
npm config get registry http://registry.npm.taobao.org/