安裝electron-react-boilerplate遇到的問題


一、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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM