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