共计 290 个字符,预计需要花费 1 分钟才能阅读完成。
npm 报错截图
报错是由于这个地址的淘宝镜像过期更换下新地址就行了
解决方案
// 1. 清空缓存
npm cache clean --force
// 2. 配置新源
npm config set registry https://registry.npmmirror.com
// 3. 查看是否设置成功
npm config list
npm cache clean --force
npm config set strict-ssl false
正文完