問題
我們在執行 npm install
命令的時候有時會遇到錯誤
Error: Can't find Python executable "python", you can set the PYTHON env variable
進而導致安裝部分包錯誤,今天帶大家簡單快捷地100%解決這個問題
解決
已 windows 平台為例,管理員權限執行以下命令,安裝完即可:
npm install --global --production windows-build-tools
我們在執行 npm install
命令的時候有時會遇到錯誤
Error: Can't find Python executable "python", you can set the PYTHON env variable
進而導致安裝部分包錯誤,今天帶大家簡單快捷地100%解決這個問題
已 windows 平台為例,管理員權限執行以下命令,安裝完即可:
npm install --global --production windows-build-tools
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。