TooTallNate/node-gyp — Issue #22: 'node-gyp configure' uncaught exception
Author: cmundi
Created: 2012-02-13 16:08:27+00:00
State: open

Hi. I am sitting in front of yet another machine today, trying to build node-sqlite3 with gyp.

So I have node 0.6.10 built & installed. And I did 'npm -g install node-gyp' with no error.

Now I unpack TooTallNate/node-sqlite3 and do this:

node-gyp clean // ok
node-gyp configure // error! See below...

info it worked if it ends with ok
info downloading: http://nodejs.org/dist/v0.6.0/node-v0.6.0.tar.gz
ERR! UNCAUGHT EXCEPTION:
ERR! TypeError: Object 0.6 has no method 'toFixed'
at downloadNodeLib (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\lib\install.js:227:
49)
at Parse.afterTarball (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\lib\install.js:1
68:9)
at Parse.emit (events.js:88:20)
at Parse._streamEnd (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_modules\tar\l
ib\parse.js:64:6)
at BlockStream. (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_module
s\tar\lib\parse.js:50:8)
at BlockStream.emit (events.js:64:17)
at BlockStream._emitChunk (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_modules
\tar\node_modules\block-stream\block-stream.js:203:10)
at BlockStream.flush (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_modules\tar\
node_modules\block-stream\block-stream.js:70:8)
at BlockStream.end (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_modules\tar\no
de_modules\block-stream\block-stream.js:66:8)
at Parse.end (C:\Documents and Settings\cm\Application Data\npm\node_modules\node-gyp\node_modules\tar\lib\pars
e.js:85:23)
ERR! This is a bug in `node-gyp`. Please open an Issue:
ERR! https://github.com/TooTallNate/node-gyp/issues
ERR! not ok