大家好,又见面了,我是全栈君。
1.通过config命令
npm config set registry https://registry.npm.taobao.org npm info underscore (如果上面配置正确这个命令会有字符串response)
npm install -g cnpm --registry=https://registry.npm.taobao.org
转载于:https://www.cnblogs.com/dunke/p/7809342.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/108024.html原文链接:https://javaforall.net