報錯:
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb check python checking for Python executable "python" in the PATH
解決辦法:
主要是windows平臺缺少編譯環境,
1、先運行: npm install -g node-gyp
2、然后運行:運行 npm install --global --production windows-build-tools 可以自動安裝跨平臺的編譯器:gym
參考:
https://blog.csdn.net/ty_0930/article/details/70184392
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/149371.html
標籤:JavaScript
上一篇:03.JS運算子
下一篇:面試必會---模塊化
