修改:
npm config set registry http://registry.npm.taobao.org/
配置后验证是否成功(查看当前npm源):
npm config get registry
还原:
npm config set registry https://registry.npmjs.org/
原文地址:https://www.cnblogs.com/wuqilang/p/12336991.html
时间: 2024-10-11 13:47:43
npm config set registry http://registry.npm.taobao.org/
配置后验证是否成功(查看当前npm源):
npm config get registry
npm config set registry https://registry.npmjs.org/
原文地址:https://www.cnblogs.com/wuqilang/p/12336991.html