redis / hiredis-node

Node wrapper for hiredis
BSD 3-Clause "New" or "Revised" License
305 stars 84 forks source link

MSBUILD #106

Closed foobar1123 closed 8 years ago

foobar1123 commented 9 years ago

$ npm install hiredis -S npm WARN package.json my@0.0.1 No repository field. npm WARN package.json my@0.0.1 No README data

npm WARN package.json my@0.0.1 No license field.

hiredis@0.4.1 install c:\wamp\www\hapi\my\node_modules\hiredis node-gyp rebuild

c:\wamp\www\hapi\my\node_modules\hiredis>if not defined npm_config_node_gyp (nod e "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules \node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available too ls versions are "12.0", "4.0". gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe fail ed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (c:\Program Files\nodejs\node_modules\ npm\node_modules\node-gyp\lib\build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:200:12) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodej s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd c:\wamp\www\hapi\my\node_modules\hiredis gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Windows_NT 6.3.9600 npm ERR! argv "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js" "install" "hiredis" "-S" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE

npm ERR! hiredis@0.4.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hiredis@0.4.1 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the hiredis package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls hiredis npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! c:\wamp\www\hapi\my\npm-debug.log

badboy commented 9 years ago

I have no idea of Windows and solely rely on appveyor for Windows-compatibility. See #92 for more info and maybe a way to compile it. Please rebot back if you manage to do so.