node.js - Error installing node-weak on Windows7 -
I can not load nodes weak on Windows7. I did not take any advantage of Python 2.7, 2.5, 2.3. It seems (with the error below), that I need to use the version of Python 2, but does not seem to help in the changing versions. Any help is appreciated.
C: \ Project 1 \ node_modules \ weak> node "C: \ Program Files (x 86) \ nodejs \ node_modules \ npm \ bin \ node-gyp-bin \\ .. \ .. \ node_modules \ node-gyp \ bin \ node-gyp.js "gyp ERR rebuild! Rebuild Error Error: Python is executable on executable "c: \ Python25 \ python.exe" 3, which is not supported. GEP ERR! FailPython3 (C: \ Program Files (x86) \ nodejs \ node_mo dules \ npm \ node_modules \ node-gyp \ lib \ configure.js: 90: Reconstruction error: Gyp ERR at 14! C: \ Program Files (x86) \ nodejs \ node_modules \ npm \ nod e_modules \ node-gyp \ lib reconstruction error on \ configure.js: 79: 9 gyp rebuild error ERR! ChildProcess.exithandler (child_process.js: 534: 7) gyp ERR! ChildProcess.EventEmitter. reconstruction error emit (events.js: 91: 17) gyp ERR! possibly rebuild re-creation (child_process.js: 634: 16) gyp ERR! process error rebuild ._handle.onexit (child_process.js: 676 : 5) GEP ERR! OK NPM ERR! W Install eak@0.2.1: 'Node-GIP reconstruction' NPM ERR! 'CMD' / C '' node-GIP reconstruction '' failed with 1 NMR ERR! NPM ERR! Weak @ 0.2.1 install failed on script . NPM ERR! the weakest package, there is a problem with the NPM ERR! not here ERR NPM with NPM! let the author that it fails on your system: NPM ERR! Node-jeep NPM ERR rebuild! You can get your information: NPM ERR! NPM owner LS weak NMP ERR! Upward additional logging output is likely to occur. NPM ERR! System Windows_NT 6.1.7601 NMP ERR! Command "C: \\ Program Files (x86) \\ Nodj \\\\ node.exe" "C: \\ Program Files s (x86) \\ \\ Nodj Nod_modul \\ npm \\ bin \\ NPM-CLI .js "" Install "" Weak "NPM ERR! Cwd C: \ project1 npm ERR! Node-v v0.8.1 nmp ERR! NMP-V 1.1.33 NPM ERR! Code ELIFECYCLE NPM ERR! Install message weak@0.2.1: `Node-GIP rebuilding 'NPM ERR! The message 'CMD' / C '' node-GIP reconstruction '' failed with 1 NPM ERR! NPM ERR! Additional logging details can be found in the following: NPM ERR! C: \ project1 \ npm-debug.log NMP ERR! Correct code 0
apparently a bug in node-gyp@0.5.2 Where this Python version number would not be properly parsed, but it was fixed in 036a730f4a3a95e65d8f390f7f5c4f0d3321e422 (0.5.3). To fix the problem, I had to update node-jeep:
CD "C: \ program files (x86) \ nodejs" npm installed node-jeep Simple solution, but there is a difficult problem to track down.
Comments
Post a Comment