node-login icon indicating copy to clipboard operation
node-login copied to clipboard

你好,我按照步骤来的,报这种错,是哪里的问题?

Open shuxiayehu opened this issue 7 years ago • 0 comments

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. (D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16) gyp ERR! stack at D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.14393 gyp ERR! command "D:\nodeWeb\nodejs\node.exe" "D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd D:\workspace\node-login\node_modules\bcrypt gyp ERR! node -v v8.9.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN [email protected] requires a peer of jquery@>=1.8.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

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

shuxiayehu avatar Dec 15 '17 14:12 shuxiayehu