Post(s) tagged npm

npm - EPERM: operation not permitted on Windows

npm start command encounters An unhandled exception occurred: EPERM: operation not permitted

Here is the simplest way I fixed the bug.

Open .npmrc file located on C:\Users\<user name>\.npmrc

Change the path of prefix= to prefix=C:\Users\<user name>\AppData\Roaming\npm

Delete node_modules folder and run npm install command

Then run npm start command

Posted on February 20, 2022