visionmedia/jade — Issue #420: npm install typeerorr - bad argument exception
Author: basti1253
Created: 2011-11-29 01:49:45+00:00
State: open

npm fails installing jade.

basti@basti-desktop:~$ sudo npm install -g jade
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/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 3.1.2-1-ARCH
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "jade"
npm ERR! cwd /home/basti
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! message Bad argument
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/basti/npm-debug.log
npm not ok

basti@basti-desktop:rsstube$ npm install -d
npm info it worked if it ends with ok
npm info using npm@1.1.0-alpha-2
npm info using node@v0.6.3
npm info preinstall application-name@0.0.1
npm info addNamed [ 'express', '2.5.1' ]
npm info addNamed [ 'jade', '>= 0.0.1' ]
npm info fetch https://registry.npmjs.org/jade/-/jade-0.18.0.tgz
npm info shasum 2868cc3f4686b37be59becc506b7c79b254888e6
npm info shasum /tmp/npm-1322531224455/1322531224455-0.5124157147947699/tmp.tgz
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/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 3.1.2-1-ARCH
npm ERR! command "node" "/usr/bin/npm" "install" "-d"
npm ERR! cwd /media/data/rsstube
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! message Bad argument
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /media/data/rsstube/npm-debug.log
npm not ok

best regards

Sebastian