JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 284 forks source link

VCBuild.exe #319

Open xrmxrm opened 10 years ago

xrmxrm commented 10 years ago

Trying to install 0MQ for Node and seem to need an obsolete .NET component. Can you help?

Thanks. …RM

C:_Working\PlayNode\messaging>npm install zmq npm http GET https://registry.npmjs.org/zmq npm http 304 https://registry.npmjs.org/zmq npm http GET https://registry.npmjs.org/nan npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings npm http 200 https://registry.npmjs.org/nan

zmq@2.7.0 install C:_Working\PlayNode\messaging\node_modules\zmq node-gyp rebuild

C:_Working\PlayNode\messaging\node_modules\zmq>node "C:\NodeJS\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp. js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) inst all Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:_Working\Pla yNode\messaging\node_modules\zmq\build\binding.sln] gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\NodeJS\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\NodeJS\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:_Working\PlayNode\messaging\node_modules\zmq gyp ERR! node -v v0.10.28 gyp ERR! node-gyp -v v0.13.0 gyp ERR! not ok npm ERR! zmq@2.7.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zmq@2.7.0 install script. npm ERR! This is most likely a problem with the zmq 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 zmq npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\NodeJS\node.exe" "C:\NodeJS\node_modules\npm\bin\npm-cli.js" "install" "zmq" npm ERR! cwd C:_Working\PlayNode\messaging npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:_Working\PlayNode\messaging\npm-debug.log npm ERR! not ok code 0

kkoopa commented 10 years ago

What compiler(s) do you have installed? If many, try explicitly specifying which to use for node-gyp

e.g. npm install –msvs_version=2012