nodejs 启动报错 切换镜像

1. 命令   npm config edit 通过修改txt修改文件

2. 直接通过名称 修改

  npm config set registry http://registry.npm.taobao.org

3. 使用nrm配置镜像地址

  npm install -g nrm

  nrm use taobao

posted @ 2020-06-09 14:28  包远志  阅读(324)  评论(0编辑  收藏  举报