![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodejs
m0_60836316
这个作者很懒,什么都没留下…
展开
-
yarn/npm/cnpm报错 Error: unable to verify the first certificate
1 问题在使用npm install或cnpm install的时候,出现以下报错 Error: unable to verify the first certificate2 原因2017年2月27日,npm不再支持自签名证书。npm install走的是https协议,需要通过数字证书来保证的3 解决方法取消ssl验证:npm config set strict-ssl false如果是cnpm或者是yarn的话 也需要设置cnpm config set strict-ssl原创 2022-02-08 09:52:57 · 1420 阅读 · 0 评论 -
使用nrm管理nodejs.镜像registry地址
使用nrm管理registry地址1)安装nrmnpm install -g nrm2)查看镜像列表nrm ls3)切换镜像nrm use taobao原创 2022-02-07 15:46:47 · 339 阅读 · 0 评论