yarn 安裝依賴報錯

參考https://blog.csdn.net/qq_39165556/article/details/94590365解決無效
結果npm install --global --production windows-build-tools 就報錯如下

繼續研究變成windows權限問題,所以不走這條路
重新刪除依賴包后
用npm i 方式安裝,也報錯但不一樣
報錯npm ERR! chromedriver@2.46.0 install: `node install.js`
參考https://www.cnblogs.com/yflbk-2016/p/13299564.html解決
然后 npm run serve
又報錯 Module build failed (from ./node_modules/sass-loader/dist/cjs.js)

這個是因為node-sass沒安裝好,所以要重新安裝
運行命令:npm install node-sass --registry=https://registry.npm.taobao.org
執行警告 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):(解釋https://blog.csdn.net/weixin_39690767/article/details/80025538)
不影響安裝后直接啟動
本地測試 可~
