報錯: gyp verb check python checking for Python executable "python2" in the PATH gyp verb check python checking for Python executable "python" in the PA ...
報錯:
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