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
vue-cli 安装过程中报错npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir
1、采用cnpm镜像就可以解决了。
输入:
npm install -g cnpm --registry=https://registry.npm.taobao.org
重新安装
npm install vue-cli -g
2、清除npm缓存
npm chache clean --force
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。