一、yarn安裝緩慢
1 // 查看下載源 2 yarn config get registry 3 // 修改下載源 4 yarn config set registry https://registry.npm.taobao.org
二、安裝調試問題
參考鏈接: https://electron-react-boilerplate.js.org/docs/installation-debugging-solutions
檢查系統是否已經安裝好所依賴的環境(Visual C++ 和 Python 2.7)
若沒有則以管理員身份運行npm install --global --production windows-build-tools,安裝所有使用微軟的必需的工具和配置Windows的構建工具
安裝好后,刪除node_modules文件夾,yarn cache clean && yarn