node-login
node-login copied to clipboard
你好,我按照步骤来的,报这种错,是哪里的问题?
npm install
[email protected] install D:\workspace\node-login\node_modules\bcrypt node-gyp rebuild
D:\workspace\node-login\node_modules\bcrypt>if not defined npm_config_node_gyp (node "D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! D:\nodeWeb\nodejs\node_cache_logs\2017-12-15T13_07_27_127Z-debug.log