Software Development Timesaver #326 Jun 2017
If you’re on Windows computer and using Atom, you might have encountered this error in your terminal, when running
Error: EPERM: operation not permitted, unlink 'C:\user\equalpasta\somepath\project\build'
A Google search reveals that variations of this error are a common problem.
Why does this happen? How to fix it? One reason can be the Atom editor. Turns out having the build folder expanded in Atom can cause this. It seems like Atom locks the folder if expanded in the project view, when running
Minimize the build folder in Atom, and re-run ‘gulp watch’.
This solved the issue for me.