Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Please help! "qt with node.js is not working!!"
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bineetha
    wrote on last edited by
    #1

    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 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:\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
    ld\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_modul
    es\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:\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@@

    1 Reply Last reply
    0
    • GianlucaG Offline
      GianlucaG Offline
      Gianluca
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved