rogeriopvl / nodo

☑ Command line TODO app
http://rogeriopvl.github.io/nodo
MIT License
72 stars 4 forks source link

error on node 0.8.8 #5

Closed leecade closed 12 years ago

leecade commented 12 years ago

lib git:master ❯ npm install -g nodo npm http GET https://registry.npmjs.org/nodo npm http 304 https://registry.npmjs.org/nodo npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/sqlite3 npm http 304 https://registry.npmjs.org/sqlite3 npm http 304 https://registry.npmjs.org/colors

sqlite3@2.1.5 install /usr/local/share/npm/lib/node_modules/nodo/node_modules/sqlite3 node-gyp rebuild

CC(target) Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o LIBTOOL-STATIC Release/sqlite3.node CXX(target) Release/obj.target/node_sqlite3/src/database.o In file included from ../src/database.cc:2: /Volumes/HDD/Users/yuji/.node-gyp/0.8.8/src/node.h:61:10: fatal error: 'uv.h' file not found

include "uv.h"

     ^

1 error generated. make: *\ [Release/obj.target/node_sqlite3/src/database.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/0.8.8/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17) gyp ERR! stack at Process._handle.onexit (child_process.js:674:10) gyp ERR! System Darwin 11.4.0 gyp ERR! command "node" "/usr/local/Cellar/node/0.8.8/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/share/npm/lib/node_modules/nodo/node_modules/sqlite3 gyp ERR! node -v v0.8.8 gyp ERR! node-gyp -v v0.6.7 gyp ERR! not ok npm ERR! sqlite3@2.1.5 install: node-gyp rebuild npm ERR! sh "-c" "node-gyp rebuild" failed with 1 npm ERR! npm ERR! Failed at the sqlite3@2.1.5 install script. npm ERR! This is most likely a problem with the sqlite3 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 sqlite3 npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 11.4.0 npm ERR! command "/usr/local/Cellar/node/0.8.8/bin/node" "/usr/local/bin/npm" "install" "-g" "nodo" npm ERR! cwd /usr/local/share/npm/lib npm ERR! node -v v0.8.8 npm ERR! npm -v 1.1.59 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /usr/local/share/npm/lib/npm-debug.log npm ERR! not ok code 0

rogeriopvl commented 12 years ago

This is clearly a compiling problem with the sqlite3 package (which is a dependency of nodo).

I've tried it here on my node v0.8.8 (OS X Mountain Lion 10.8.1) and compiled fine, so something must be wrong in your setup. Have you updated all npm packages to latest version?

Edit: it seems that node-gyp can't find the uv.h header file, so maybe it's a node installation problem?

leecade commented 12 years ago

closed this issue, after:

rm -rf /Volumes/HDD/Users/yuji/.node-gyp/0.8.8

and re-build