npm · npm/EPERM
EPERM
Operation Not Permitted
npm's underlying filesystem call (often rename, unlink, or mkdir) was rejected by the operating system, most commonly on Windows when a file is locked by another process such as an editor, antivirus scanner, or running dev server. Close programs that may be holding a lock on the path, retry, or run as Administrator/root as a last resort.
Also defined in
- posix Operation not permitted The operation is restricted to processes with elevated privileges, or to the owner of the file or resource.
- windows-errno Operation not permitted The operation is not permitted for the current user or process. Often returned when attempting an operation requiring elevated privileges.