Error: ENOENT, open '/var/empty/.npm/cdc17b61-generator-ember.lock' #4645

Closed
simara001 opened this Issue Feb 11, 2014 · 2 comments

Projects

None yet

3 participants

@simara001
npm ERR! Error: ENOENT, open '/var/empty/.npm/cdc17b61-generator-ember.lock'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>

npm ERR! System Darwin 13.0.0
npm ERR! command "/usr/local/Cellar/node/0.10.24/bin/node" "/usr/local/bin/npm" "install" "-g" "generator-ember"
npm ERR! cwd /Users/ramirem/simaraLabs/simara-learning/emberjs/emberjs-yo1
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path /var/empty/.npm/cdc17b61-generator-ember.lock
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/ramirem/simaraLabs/simara-learning/emberjs/emberjs-yo1/npm-debug.log
npm ERR! not ok code 0


0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/0.10.24/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'generator-ember' ]
2 info using npm@1.3.21
3 info using node@v0.10.24
4 verbose cache add [ 'generator-ember', null ]
5 verbose cache add name=undefined spec="generator-ember" args=["generator-ember",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'generator-ember',
6 verbose parsed url   path: 'generator-ember',
6 verbose parsed url   href: 'generator-ember' }
7 silly lockFile 994e2b8a-generator-ember generator-ember
8 verbose addNamed [ 'generator-ember', '' ]
9 verbose addNamed [ null, '*' ]
10 silly lockFile cdc17b61-generator-ember generator-ember@
11 verbose lock generator-ember@ /var/empty/.npm/cdc17b61-generator-ember.lock
12 silly lockFile cdc17b61-generator-ember generator-ember@
13 error Error: ENOENT, open '/var/empty/.npm/cdc17b61-generator-ember.lock'
14 error If you need help, you may report this *entire* log,
14 error including the npm and node versions, at:
14 error     <http://github.com/isaacs/npm/issues>
15 error System Darwin 13.0.0
16 error command "/usr/local/Cellar/node/0.10.24/bin/node" "/usr/local/bin/npm" "install" "-g" "generator-ember"
17 error cwd /Users/ramirem/simaraLabs/simara-learning/emberjs/emberjs-yo1
18 error node -v v0.10.24
19 error npm -v 1.3.21
20 error path /var/empty/.npm/cdc17b61-generator-ember.lock
21 error code ENOENT
22 error errno 34
23 verbose exit [ 34, true ]
@othiym23 othiym23 added the support label Sep 26, 2014
@smikes

Is this still a problem for you?

This looks like a race condition on install.

There have been a lot of improvements to npm -- especially around conflicts and race conditions during install -- since 1.3.21. Can you try updating your npm installation?

To update npm, run npm -g install npm@latest

We are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and open a new issue!)

Thanks!

@othiym23

Closing as abandoned.

@othiym23 othiym23 closed this Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment