NPM安装包失败的一般解决方法

439 阅读1分钟

可以写死配置 替换源为淘宝

npm config set registry https://registry.npm.taobao.org 
npm info underscore (如果上面配置正确这个命令会有字符串response)