pnpm 报错

1.清理换缓存

npm cache clean --force

2.禁止安全连接

npm config set strict-ssl false

3.修改镜像源

npm config set registry https://registry.npmjs.org

npm config set registry https://registry.npmmirror.com

4.查看是否修改成功

npm config get registry

————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
                        
原文链接:https://blog.csdn.net/beishang_1/article/details/137779528

posted @ 2024-11-24 21:28  CharlieBrown  阅读(35)  评论(0)    收藏  举报
标题