arturadib/node-qt

Trying to install 0.0.2 is a no go.

Opened this issue · 1 comments

node -v
v0.6.9
on Ubuntu 11.10

So this: npm install node-qt@0.0.2

npm http GET https://registry.npmjs.org/node-qt/0.0.2
npm http 304 https://registry.npmjs.org/node-qt/0.0.2

npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: node-qt@0.0.2
npm ERR! Required: {"node":">=0.6.14"}
npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"}
npm ERR!
npm ERR! System Linux 3.0.0-17-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "node-qt@0.0.2"
npm ERR! cwd /home/ubuntu/Desktop/nodeprojs
npm ERR! node -v v0.6.9
npm ERR! npm -v 1.1.0-3
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/Desktop/nodeprojs/npm-debug.log
npm not ok

... am only able to install 0.0.1 with; npm install node-qt

but that will make it bark out that "node-qt@0.0.1 invalid" error bellow when I do : npm ls
npm WARN unmet dependency /home/ubuntu/Desktop/nodeprojs/node_modules/node-five requires node-qt@'0.0.2' but will load
npm WARN unmet dependency /home/ubuntu/Desktop/nodeprojs/node_modules/node-qt,
npm WARN unmet dependency which is version 0.0.1
/home/ubuntu/Desktop/nodeprojs
├─┬ express@2.5.9
│ ├─┬ connect@1.8.7
│ │ └── formidable@1.0.9
│ ├── mime@1.2.4
│ ├── mkdirp@0.3.0
│ └── qs@0.4.2
├── node-five@0.0.1
├─┬ node-qt@0.0.1 invalid
... etc

Then tried git clone and 0.0.2 came through, had to put node-gyp in the modules so "npm ls" looks fine but "npm install" will throw:

node-qt@0.0.2 install /home/ubuntu/Desktop/nodeprojs/node_modules/node-qt
node-gyp rebuild

info it worked if it ends with ok
info downloading: http://nodejs.org/dist/v0.6.9/node-v0.6.9.tar.gz
ERR! UNCAUGHT EXCEPTION:
ERR! Error: UNKNOWN, unknown error '/home/ubuntu/.node-gyp/0.6.9'
ERR! This is a bug in node-gyp. Please open an Issue:
ERR! https://github.com/TooTallNate/node-gyp/issues
ERR! not ok

npm ERR! node-qt@0.0.2 install: node-gyp rebuild
npm ERR! sh "-c" "node-gyp rebuild" failed with 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!
npm ERR! System Linux 3.0.0-17-generic
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/ubuntu/Desktop/nodeprojs/node_modules/node-qt
npm ERR! node -v v0.6.9
npm ERR! npm -v 1.1.0-3
npm ERR! code ELIFECYCLE
npm ERR! message node-qt@0.0.2 install: node-gyp rebuild
npm ERR! message sh "-c" "node-gyp rebuild" failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/Desktop/nodeprojs/node_modules/node-qt/npm-debug.log
npm not ok

Is this a package error?
Something trivial I may well be missing?
This is blocking node-five from running, the thing I was trying to test actually.
Any help is very welcomed.

The problem is stated:

npm ERR! Required: {"node":">=0.6.14"}
npm ERR! Actual: {"npm":"1.1.0-3","node":"0.6.9"}

...which is now not a problem as Node in official Ubuntu repo is version 0.6.19.