2

Getting this error when running sudo npm install --force --no-bin-links within project folder. Below is the error I'm receiving. It looks like it keeps renaming some of the nodes. I go into the actual folder and remove the #s at the end, but when I run the install again, it just re-adds them...not sure what's going on.

enter image description here

Thank you!

Matt Pierce
  • 807
  • 3
  • 22
  • 45

1 Answers1

0

"ETXTBSY is a file sharing violation at the system level, and it indicates that another process has the file already opened and holds the lock for it." (source)

It means that npm is trying to overwrite a locked file. You have to stop the process holding the lock to be able to overwrite that file.

The process PID can be found with

fuser -u <package.json.somenumber

LMC
  • 10,453
  • 2
  • 27
  • 52