npm install 报 查看镜像源 nrm ls 切换镜像源至npm nrm use npm 查看当前镜像 npm get registry 执行npm install,添加node_modules依赖包成功。