1、错误

vue-cli 安装过程中报错npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir

2、解决

1、采用cnpm镜像就可以解决了。
输入:

npm install -g cnpm --registry=https://registry.npm.taobao.org

重新安装

npm install vue-cli -g

2、清除npm缓存

npm chache clean --force

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2021-08-04
  • 2021-04-11
  • 2022-12-23
  • 2021-05-04
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案