原因:目前设置的淘宝镜像地址是旧的地址,需要替换成新的。
npm cache clean --force
npm config set registry https://registry.npmmirror.com
当前设置的淘宝镜像地址为旧地址,需替换成新的。文中给出了替换方法,先使用 'npm cache clean --force' 命令,再用 'npm config set registry https://registry.npmmirror.com' 进行设置。
原因:目前设置的淘宝镜像地址是旧的地址,需要替换成新的。
npm cache clean --force
npm config set registry https://registry.npmmirror.com
4246

被折叠的 条评论
为什么被折叠?