Mac 安装 cnpm
npm set registry https://registry.npm.taobao.org npm set disturl https://npm.taobao.org/dist npm cache clean --force
npm i -g cnpm --registry=https://registry.npm.taobao.org
如果还报错,sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose
cnpm -v
本文来自博客园,作者:VipSoft 转载请注明原文链接:https://www.cnblogs.com/vipsoft/p/15032823.html
浙公网安备 33010602011771号