npm / npm
npm: ENOENT and ENOTEMPTY during install
Race conditions caused by concurrent install operations.
Visible symptoms
- ENOENT (lstat/chmod)
- ENOTEMPTY (unlink)
Safe verification and recovery
Update npm
Update to the latest npm. The documentation says npm 2.0.0 fixed many of these.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.