npm - EPERM: operation not permitted on Windows
Posted on February 20, 2022
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
to join this conversation on Samprix.Already have an account? Sign in to comment