如果在项目工程下面有.npmrc这个文件的话,那么里面配置的应该都是淘宝镜像cnpm install去下载,只需要把里面的淘宝源地址换成npm的
# sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
# phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
# electron_mirror=https://npm.taobao.org/mirrors/electron/
# registry=https://registry.npm.taobao.org
sass_binary_site=https://npmjs.org/mirrors/node-sass/
phantomjs_cdnurl=https://npmjs.org/mirrors/phantomjs/
electron_mirror=https://npmjs.org/mirrors/electron/
registry=https://registry.npmjs.org/
换完了再次npm install