Important: Please read the Qt Code of Conduct -

Please help! "qt with node.js is not working!!"

  • when i do
    @npm install node-qt@
    i get following errors on my console...whats wrong??

    @@C:\nodejs>npm install node-qt
    npm http GET
    npm http 304
    npm http GET
    npm http 304

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

    C:\nodejs\node_modules\node-qt>node "C:\nodejs\node_modules\npm\bin\node-gyp-bin
    \....\node_modules\node-gyp\bin\node-gyp.js" rebuild
    VCBUILD : error : project file 'C:\nodejs\node_modules\node-qt\build\qt.vcproj'
    was not found or not a valid project file. [C:\nodejs\node_modules\node-qt\bui
    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_modul
    gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:
    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:\nodejs\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:\nodejs\\node.exe" "C:\nodejs\node_modules\npm\bin\n
    pm-cli.js" "install" "node-qt"
    npm ERR! cwd C:\nodejs
    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:\nodejs\npm-debug.log
    npm ERR! not ok code 0@@

  • I think your asking on the wrong forum !
    Ask directly to who developed the Qt bindings for Node.js

Log in to reply