R
R
raiboon2015-06-05 13:00:50
npm
raiboon, 2015-06-05 13:00:50

Weird npm error?

Constantly getting an error when installing npm packages:

npm ERR! EEXIST, open '/home/юзверь/.npm/ba4bb57c-adable-stream-1-0-33-package-tgz.lock'
File exists: /home/юзверь/.npm/ba4bb57c-adable-stream-1-0-33-package-tgz.lock
Move it away, and try again. 

npm ERR! System Linux 3.13.0-51-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i"
npm ERR! cwd /tmp/cro/frontend
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! path /home/юзверь/.npm/ba4bb57c-adable-stream-1-0-33-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0

Calls when installing a variety of packages, without much connection-logic. And the /home/yuzver/.npm/ba4bb57c-adable-stream-1-0-33-package-tgz.lock file does not exist. Resolved with several tries.
Nothing sensible is googled.
Nobody faced?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Shikanov, 2015-06-05
@dizballanze

This is a bug in npm, try updating npm to the latest version.

M
Mark, 2015-06-05
@printf

I would first try to bang /home/user/.npm and update npm.
Maybe with the rights of sandals? Well, i.e. some guys run sudo npm i -g, then some of the files in ~/.npm belong to root, and the local npm install bizarrely crashes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question