Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

413
Views
How to resolve EPERM: operation not permitted error in webpack command?

How to resolve EPERM: operation not permitted error in webpack command?

The following error message occurs when using webpack. PS C:\Workspace\Mission> npm run dev

 > webpack-demo@1.0.0 dev
 > webpack --mode=development

[webpack-cli] [Error: EPERM: operation not permitted, open 'C:\Workspace\Mission\dist\px.bundle.js'] {
   errno: -4048,
   code: 'EPERM',
   syscall: 'open',
   path: 'C:\\Workspace\\Mission\\dist\\px.bundle.js'
}

Running the npm cache clean --force command works fine. However, if I run the npm run dev command 3 or 4 times, the same error repeats again.

I gave the account admin rights, and I also gave full control to the folder. I tried running it in admin mode, but it didn't work.

How to fix this error?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!