ENOENT issue while installing #2533

Fabryz opened this Issue Jun 18, 2012 · 13 comments


None yet
10 participants

Fabryz commented Jun 18, 2012

I crosspost the issue to make it faster (tell me if it's too ugly):


bergie commented Jun 19, 2012

I'm seeing this same issue a lot as well, with common packages like jade and coffee-script:

$ npm install -g coffee-script
npm http GET https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/coffee-script
npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/coffee-script/package.json'

bergie commented Jun 19, 2012

I was able to resolve this by:

$ rm -r ~/.npm/*

Had a similar issue, I used npm cache clean

bsnote commented Jun 28, 2012

npm cache clean helped me, thanks pascalduez


ghost commented Jun 30, 2012

Having a similar issue, which persists even after following the above steps.


msiebuhr commented Jul 5, 2012

My problems also persist after cache-cleanup; downgrading to 1.1.21 "fixed" it for me, tho.

@msiebuhr how did you downgrade?

@pvencill Running npm install -g npm@1.1.21

heh, I guess I should've known that syntax. Good tip, though, thanks.

On Wed, Aug 15, 2012 at 5:26 AM, Morten Siebuhr notifications@github.comwrote:

@pvencill https://github.com/pvencill Running npm install -g npm@1.1.21

Reply to this email directly or view it on GitHubhttps://github.com/isaacs/npm/issues/2533#issuecomment-7751841.

Paul Vencill
Co-Founder CyberStride LLC

npm cache clean work for me.

I'm having a similar issue that persists even after cleaning the caches AND trying npm v. 1.1.21
Anyone have any ideas?


nschonni referenced this issue in jshint/jshint Nov 6, 2012


JSHint install error on Windows #718

I got this issue while running npm install in a virtualbox shared folder. Basically… don't do that

Actually, switch to NFS for your shared folders and everything works (vagrant docs http://docs.vagrantup.com/v1/docs/nfs.html)

isaacs closed this Jan 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment