当前位置:
首页 >
行业知识 >
npm install的时候报错:npm ERR! request to https://registry.npm.taobao.org/ failed, reason: certificate ha
行业知识
npm install的时候报错:npm ERR! request to https://registry.npm.taobao.org/ failed, reason: certificate ha
2026-11-26 06:55:17
来源:互联网转载
npm报错截图
index.php/tags-41973.html" >���错是由于这个地址的淘宝镜像过期更换下新地址就行了
解决方案
// 1. 清空缓存npm cache clean --force// 2. 配置新源npm config set registry https://registry.npmmirror.com// 3. 查看是否设置成功npm config list
下一篇:阿里云免费怎么注册域名