Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Can't install formidable #2360

Closed
eraserewind opened this Issue · 3 comments

3 participants

@eraserewind

I have this error when installing formidable. OS X 10.7, Node 0.6.5, freshly compiled.

npm http GET https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/formidable

npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/formidable/package.json'
npm ERR! You may report this log at:
npm ERR!     
npm ERR! or email it to:
npm ERR!     
npm ERR! 
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "formidable" "-g"
npm ERR! cwd /Users/eraserewind
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! path /usr/local/lib/node_modules/formidable/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, open '/usr/local/lib/node_modules/formidable/package.json'
npm ERR! errno {}
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/eraserewind/npm-debug.log
npm not ok
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'formidable', '-g' ]
info using npm@1.1.16
info using node@v0.6.15
verbose /usr/local/bin/node node symlink
verbose config file /Users/eraserewind/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose cache add [ 'formidable', null ]
silly cache add: name, spec, args [ undefined, 'formidable', [ 'formidable', null ] ]
verbose parsed url { pathname: 'formidable',
verbose parsed url   path: 'formidable',
verbose parsed url   href: 'formidable' }
verbose addNamed [ 'formidable', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'formidable', '', false ]
verbose raw, before any munging formidable
verbose url resolving [ 'https://registry.npmjs.org/', './formidable' ]
verbose url resolved https://registry.npmjs.org/formidable
verbose etag "BGSNLHMCR5TC9PBWRHLIFA4YL"
http GET https://registry.npmjs.org/formidable
http 304 https://registry.npmjs.org/formidable
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb     etag: '"BGSNLHMCR5TC9PBWRHLIFA4YL"',
silly get cb     date: 'Wed, 11 Apr 2012 19:28:02 GMT',
silly get cb     'content-length': '0' } ]
verbose etag formidable from cache
silly name, range, hasData 2 [ 'formidable', '', true ]
silly versions [ 'formidable',
silly versions   [ '0.3.0',
silly versions     '0.4.0',
silly versions     '0.5.0',
silly versions     '0.6.0',
silly versions     '0.7.0',
silly versions     '0.8.0',
silly versions     '0.9.0',
silly versions     '0.9.1',
silly versions     '0.9.2',
silly versions     '0.9.3',
silly versions     '0.9.4',
silly versions     '0.9.5',
silly versions     '0.9.6',
silly versions     '0.9.7',
silly versions     '0.9.8',
silly versions     '0.9.9',
silly versions     '0.9.10',
silly versions     '0.9.11',
silly versions     '1.0.0',
silly versions     '1.0.1',
silly versions     '1.0.2',
silly versions     '1.0.3',
silly versions     '1.0.4',
silly versions     '1.0.5',
silly versions     '1.0.6',
silly versions     '1.0.7',
silly versions     '1.0.8',
silly versions     '1.0.9' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.24-darwin-x64-11.2.0',
verbose bin dist   { shasum: '419e3bccead3e8874d539f5b3e72a4c503b31a98',
verbose bin dist     tarball: 'http://registry.npmjs.org/formidable/-/formidable-1.0.9.tgz' } ]
verbose caching /Users/eraserewind/.npm/formidable/1.0.9/package/package.json
verbose loadDefaults formidable@1.0.9
silly resolved [ { name: 'formidable',
silly resolved     version: '1.0.9',
silly resolved     dependencies: {},
silly resolved     devDependencies: 
silly resolved      { gently: '0.8.0',
silly resolved        findit: '0.1.1',
silly resolved        hashish: '0.0.4',
silly resolved        urun: '0.0.4',
silly resolved        utest: '0.0.3' },
silly resolved     directories: { lib: './lib' },
silly resolved     main: './lib/index',
silly resolved     scripts: { test: 'make test' },
silly resolved     engines: { node: '*' },
silly resolved     _id: 'formidable@1.0.9',
silly resolved     optionalDependencies: {},
silly resolved     _engineSupported: true,
silly resolved     _npmVersion: '1.1.16',
silly resolved     _nodeVersion: 'v0.6.15',
silly resolved     _defaultsLoaded: true,
silly resolved     _from: 'formidable' } ]
info into /usr/local/lib formidable@1.0.9
info installOne formidable@1.0.9
verbose from cache /Users/eraserewind/.npm/formidable/1.0.9/package/package.json
info unbuild /usr/local/lib/node_modules/formidable
verbose unpack /Users/eraserewind/.npm/formidable/1.0.9/package.tgz
silly gunzTarPerm modes [ '755', '644' ]
info unbuild /usr/local/lib/node_modules/formidable
ERR! Error: ENOENT, open '/usr/local/lib/node_modules/formidable/package.json'
ERR! You may report this log at:
ERR!     
ERR! or email it to:
ERR!     
ERR! 
ERR! System Darwin 11.2.0
ERR! command "node" "/usr/local/bin/npm" "install" "formidable" "-g"
ERR! cwd /Users/eraserewind
ERR! node -v v0.6.15
ERR! npm -v 1.1.16
ERR! path /usr/local/lib/node_modules/formidable/package.json
ERR! code ENOENT
ERR! message ENOENT, open '/usr/local/lib/node_modules/formidable/package.json'
ERR! errno {}
verbose exit [ 1, true ]
@arbales

2nd'd

@arbales

This appears to be either a bug in bsdtar or in the formidable tarball itself.

I was able to install the package by temporarily aliasing tar to gtar

brew install gnu-tar && alias tar=gtar

See also: strongloop/express#1111
And: #1512

@nathan7
Collaborator

Closing, since the current npm uses node-tar instead of external tar.

@nathan7 nathan7 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.