isaacs/npm — Issue #1800: unable to install odbc
Author: kjeevakumar
Created: 2011-11-28 19:11:48+00:00
State: open

Hello

I tried installing odbc on Cent OS 5.6 x64. Used command npm install odbc -g.

Any suggestions on how to fix will be greatly appreciated. The npm debug log is below...

Thanks,
Karthik

************************************************************************************************

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'odbc', '-g' ]
info using npm@1.1.0-alpha-2
info using node@v0.6.3
verbose config file /root/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
silly exec /usr/local/bin/node "/usr/local/lib/node_modules/npm/bin/npm-get-uid-gid.js" "nobody" 0
silly spawning [ '/usr/local/bin/node',
silly spawning [ '/usr/local/lib/node_modules/npm/bin/npm-get-uid-gid.js',
silly spawning 'nobody',
silly spawning 0 ],
silly spawning null ]
silly output from getuid/gid {"uid":99,"gid":0}
silly output from getuid/gid
verbose into /usr/local/lib [ 'odbc' ]
verbose cache add odbc
verbose cache add [ 'odbc', null ]
silly cache add: name, spec, args [ undefined, 'odbc', [ 'odbc', null ] ]
verbose parsed url { pathname: 'odbc', path: 'odbc', href: 'odbc' }
info addNamed [ 'odbc', '' ]
verbose addNamed [ null, '' ]
verbose GET odbc
verbose raw, before any munging odbc
verbose url resolving [ 'https://registry.npmjs.org/', './odbc' ]
verbose url resolved https://registry.npmjs.org/odbc
verbose etag "7RIMO4WLWUIZO41L6K55MC8M5"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"7RIMO4WLWUIZO41L6K55MC8M5"',
silly get cb date: 'Mon, 28 Nov 2011 19:00:49 GMT',
silly get cb 'content-length': '0' } ]
verbose etag odbc from cache
verbose GET odbc/0.3.0
verbose raw, before any munging odbc/0.3.0
verbose url resolving [ 'https://registry.npmjs.org/', './odbc/0.3.0' ]
verbose url resolved https://registry.npmjs.org/odbc/0.3.0
verbose etag "7RIMO4WLWUIZO41L6K55MC8M5"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"7RIMO4WLWUIZO41L6K55MC8M5"',
silly get cb date: 'Mon, 28 Nov 2011 19:00:49 GMT',
silly get cb 'content-length': '0' } ]
verbose etag odbc/0.3.0 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8e-fips-rhel5-v83.6.6.8-linux-x64-2.6.18-194.26.1.el5',
verbose bin dist { shasum: '537d93311114b784f81192fca1fa50038f441609',
verbose bin dist tarball: 'http://registry.npmjs.org/odbc/-/odbc-0.3.0.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/odbc/-/odbc-0.3.0.tgz',
verbose addRemoteTarball '537d93311114b784f81192fca1fa50038f441609' ]
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322506910176'
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322506910176/1322506910176-0.15533691621385515'
verbose mkdir done: /tmp/npm-1322506910176/1322506910176-0.15533691621385515 755
info fetch https://registry.npmjs.org/odbc/-/odbc-0.3.0.tgz
verbose fetch to /tmp/npm-1322506910176/1322506910176-0.15533691621385515/tmp.tgz
silly updated sha bytes 12052
info shasum 537d93311114b784f81192fca1fa50038f441609
info shasum /tmp/npm-1322506910176/1322506910176-0.15533691621385515/tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322506910176/1322506910176-0.15533691621385515/___package.npm'
verbose mkdir done: /tmp/npm-1322506910176/1322506910176-0.15533691621385515/___package.npm 755
verbose unpack_ uid, gid [ 0, 0 ]
verbose unpackTarget /tmp/npm-1322506910176/1322506910176-0.15533691621385515/package
silly gunzTarPerm modes [ '755', '644' ]
ERR! TypeError: Bad argument
ERR! at Object._open (fs.js:224:11)
ERR! at open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
ERR! at Object.open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
ERR! at Object.lutimes (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:205:7)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 2.6.18-194.26.1.el5
ERR! command "node" "/usr/local/bin/npm" "install" "odbc" "-g"
ERR! cwd /root
ERR! node -v v0.6.3
ERR! npm -v 1.1.0-alpha-2
ERR! message Bad argument
verbose exit [ 1, true ]