NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)

Message par ForumBot »

NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)

Message par ForumBot »

I ran into the same problem while I was changing some npm settings. I did a mistake with one `npm config set` command and this added a line referring to a non-existing directory to `C:\Users\{User}\.npmrc`. After I deleted that line manually from `.npmrc`, the problem was gone.
Répondre

Revenir à « Performance & Dépannage »