gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
解决方案:
npm --add-python-to-path='true' --debug install --global windows-build-tools
npm install --global node-gyp
然后删除node_modules模块和package-lock.json 文件
再次运行
npm install