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