报错:
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
参考: