isaacs/npm — Issue #1830: Cannot "npm install rsa" on CentOS
Author: jhohenstein
Created: 2011-12-02 19:06:56+00:00
State: open

This works (mostly) fine on Ubuntu 32bit 11.10 but not on CentOS

npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli '/usr/local/bin/npm',
npm verb cli '--loglevel',
npm verb cli 'verbose',
npm verb cli 'install',
npm verb cli 'rsa' ]
npm info using npm@1.1.0-alpha-2
npm info using node@v0.6.3
npm verb config file /root/.npmrc
npm verb config file /usr/local/etc/npmrc
npm verb config file /usr/local/lib/node_modules/npm/npmrc
npm verb caching /root/gstnext-automatch/package.json
npm verb loadDefaults application-name@0.0.1
npm verb caching /root/gstnext-automatch/node_modules/validator/package.json
npm verb loadDefaults validator@0.3.6
npm verb caching /root/gstnext-automatch/node_modules/journey/package.json
npm verb loadDefaults journey@0.4.0-pre-2
npm verb caching /root/gstnext-automatch/node_modules/vargs/package.json
npm verb loadDefaults vargs@0.1.0
npm verb caching /root/gstnext-automatch/node_modules/express/package.json
npm verb loadDefaults express@2.4.6
npm verb caching /root/gstnext-automatch/node_modules/cradle/package.json
npm verb loadDefaults cradle@0.5.7
npm verb caching /root/gstnext-automatch/node_modules/restler/package.json
npm verb loadDefaults restler@0.2.1
npm verb caching /root/gstnext-automatch/node_modules/jasmine-node/package.json
npm verb loadDefaults jasmine-node@1.0.13
npm verb caching /root/gstnext-automatch/node_modules/jade/package.json
npm verb loadDefaults jade@0.17.0
npm verb from cache /root/gstnext-automatch/package.json
npm verb into /root/gstnext-automatch [ 'rsa' ]
npm verb cache add rsa
npm verb cache add [ 'rsa', null ]
npm verb parsed url { pathname: 'rsa',
npm verb parsed url path: 'rsa',
npm verb parsed url href: 'rsa' }
npm info addNamed [ 'rsa', '' ]
npm verb addNamed [ null, '' ]
npm verb GET rsa
npm verb raw, before any munging rsa
npm verb url resolving [ 'https://registry.npmjs.org/', './rsa' ]
npm verb url resolved https://registry.npmjs.org/rsa
npm verb etag "1SZJCAU8JO0D9UXQZKU6JOS59"
npm verb etag rsa from cache
npm verb GET rsa/0.0.1
npm verb raw, before any munging rsa/0.0.1
npm verb url resolving [ 'https://registry.npmjs.org/',
npm verb url resolving './rsa/0.0.1' ]
npm verb url resolved https://registry.npmjs.org/rsa/0.0.1
npm verb etag "1SZJCAU8JO0D9UXQZKU6JOS59"
npm verb etag rsa/0.0.1 from cache
npm verb 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.el5xen',
npm verb bin dist { shasum: '3ece497d2ac21db291eb3c7eef371523124dee0f',
npm verb bin dist tarball: 'http://registry.npmjs.org/rsa/-/rsa-0.0.1.tgz',
npm verb bin dist bin:
npm verb bin dist { '0.4-sunos-5.11':
npm verb bin dist { shasum: 'c5b4edec05d9f43d0a36c94d9db57977752e79c1',
npm verb bin dist tarball: 'http://registry.npmjs.org/rsa/-/rsa-0.0.1-0.4-sunos-5.11.tgz' } } } ]
npm verb addRemoteTarball [ 'https://registry.npmjs.org/rsa/-/rsa-0.0.1.tgz',
npm verb addRemoteTarball '3ece497d2ac21db291eb3c7eef371523124dee0f' ]
npm verb mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322852693491'
npm verb mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322852693491/1322852693491-0.32206194940954447'
npm verb mkdir done: /tmp/npm-1322852693491/1322852693491-0.32206194940954447 755
npm info fetch https://registry.npmjs.org/rsa/-/rsa-0.0.1.tgz
npm verb fetch to /tmp/npm-1322852693491/1322852693491-0.32206194940954447/tmp.tgz
npm info shasum 3ece497d2ac21db291eb3c7eef371523124dee0f
npm info shasum /tmp/npm-1322852693491/1322852693491-0.32206194940954447/tmp.tgz
npm verb mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm'
npm verb mkdir done: /tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm 755
npm verb unpack_ uid, gid [ 0, 0 ]
npm verb unpackTarget /tmp/npm-1322852693491/1322852693491-0.32206194940954447/package
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:205:7)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.18-194.26.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "--loglevel" "verbose" "install" "rsa"
npm ERR! cwd /root/gstnext-automatch
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! message Bad argument
npm verb exit [ 1, true ]
npm ERR! Error: ENOENT, no such file or directory '/tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm/package/rsaBinding.node'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.18-194.26.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "--loglevel" "verbose" "install" "rsa"
npm ERR! cwd /root/gstnext-automatch
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! path /tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm/package/rsaBinding.node
npm ERR! fstream_path /tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm/package/rsaBinding.node
npm ERR! fstream_type SymbolicLink
npm ERR! fstream_class LinkWriter
npm ERR! fstream_finish_call chown
npm ERR! fstream_linkpath build/default/rsaBinding.node
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/tmp/npm-1322852693491/1322852693491-0.32206194940954447/___package.npm/package/rsaBinding.node'
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:283:17)
npm verb exit [ 1, true ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/gstnext-automatch/npm-debug.log
npm not ok