npm install 下载时出错,再次进行下载时只显示 up to date 42s图片是第一次报错
现在淘宝镜像源地址已经从 registry.npm.taobao.org 迁移到 registry.npmmirror.com,你可以试试用这个命令 npm install --registry=https://registry.npmmirror.com,如果还是报错,可以尝试换下node版本,我这边是用 nvm 管理了很多版本的node
registry.npm.taobao.org
registry.npmmirror.com
npm install --registry=https://registry.npmmirror.com