arturadib / node-qt

C++ Qt bindings for Node.js
http://documentup.com/arturadib/node-qt
Other
1.62k stars 172 forks source link

node-qt installation failed on windows7 #27

Open bineetha opened 10 years ago

bineetha commented 10 years ago

I installed node-v0.10.24-x64 in Windows7. I have Microsoft Visual Studio and python-2.7.3 in my system. When I do npm install node-qt , the following error occurs:

C:>npm install node-qt npm WARN package.json node@0.0.0 No description npm WARN package.json node@0.0.0 No repository field. npm http GET https://registry.npmjs.org/node-qt npm http 304 https://registry.npmjs.org/node-qt npm http GET https://registry.npmjs.org/shelljs/0.0.5-pre4 npm http 304 https://registry.npmjs.org/shelljs/0.0.5-pre4

node-qt@0.0.2 install C:\node_modules\node-qt node-gyp rebuild

C:\node_modules\node-qt>node "C:\Program Files\nodejs\node_modules\npm\bin\node- gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild VCBUILD : error : project file 'C:\node_modules\node-qt\build\qt.vcproj' was no t found or not a valid project file. [C:\node_modules\node-qt\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:\Program Files\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:789: 12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu les\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\node_modules\node-qt gyp ERR! node -v v0.10.24 gyp ERR! node-gyp -v v0.12.1 gyp ERR! not ok npm ERR! node-qt@0.0.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-qt@0.0.2 install script. npm ERR! This is most likely a problem with the node-qt 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 node-qt npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "node-qt" npm ERR! cwd C:\ npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\npm-debug.log npm ERR! not ok code 0

Please Help me..

nandinin commented 10 years ago

I have got same errors..can someone help!

chetu7845 commented 10 years ago

okie

lukasz-lysik commented 10 years ago

The same happens on Mac OS X 10.8

zhangyi commented 9 years ago

I same too.

woolfi182 commented 8 years ago

I have the same problem too