Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR in EPERM: operation not permitted, open

I have a React application that starts up fine and has been running for some time now. However, now when I go to make any edits, I am met with the following error:

ERROR in EPERM: operation not permitted, open 'C:\Users\Administrator\Desktop\ApplicantApp\FrontEnd\build\node_modules.cache.eslintcache'

Any ideas how to fix?

like image 461
Chris Gilbert Avatar asked Oct 17 '25 13:10

Chris Gilbert


1 Answers

My exact error was

"ERROR in [eslint] EPERM: operation not permitted, open 'Y:\Caido\Dev\CaidoWebFramework\caido_nodejs\node_modules.cache.eslintcache'"

and I solved it like this: In Windows, I right clicked for folder properties on the folder Y:\Caido\Dev\CaidoWebFramework\caido_nodejs\node_modules.cache and unchecked ReadOnly and Hidden.

But I don't really understand what heappened because:

  • if I reopen the folder properties again the ReadOnly and Hidden boxes are not changed even if I just saved the same dialog with both checkboxes unchecked.
  • the message is about a file that can't be opened and I don't know why these atributtes would affect the behaviour.

Still I'm sure that after I uncheckd these checkboxes for the first time the problem dissapeared.

enter image description here

like image 174
Victorqedu Avatar answered Oct 20 '25 03:10

Victorqedu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!