isaacs/npm — Issue #2158: ENAMETOOLONG ERR on npm jitsu install
Author: sechrest
Created: 2012-02-15 00:47:52+00:00
State: open

Hello,

I am trying to install jitsu. When I do, it fails in the middle with an ENAMETOOLONG error.
It looks like it is having a versionitis issue with NPM.

Here is the log of what occurred:

$ sudo npm install jitsu -g
npm http GET https://registry.npmjs.org/jitsu
npm http 304 https://registry.npmjs.org/jitsu
npm http GET https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/nodejitsu-api
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/require-analyzer
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/nconf
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/cliff
npm http 304 https://registry.npmjs.org/nodejitsu-api
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/prompt
npm WARN eyes@0.1.7 dependencies field should be hash of : pairs
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/require-analyzer
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-1.1.0-beta-9.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-1.1.0-beta-9.tgz
npm WARN node-uuid@1.3.0 dependencies field should be hash of : pairs

npm ERR! Error: ENAMETOOLONG, name too long '/home/sechrest/.npm/npm/1.1.0-beta-9/___package.npm/package/node_modules/tar/test/fixtures/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.38-13-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install" "jitsu" "-g"
npm ERR! cwd /home/sechrest
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.1
npm ERR! path /home/sechrest/.npm/npm/1.1.0-beta-9/___package.npm/package/node_modules/tar/test/fixtures/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
npm ERR! code ENAMETOOLONG
npm ERR! message ENAMETOOLONG, name too long '/home/sechrest/.npm/npm/1.1.0-beta-9/___package.npm/package/node_modules/tar/test/fixtures/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sechrest/npm-debug.log
npm not ok