If you're getting the Error Error: EPERM: operation not permitted, open '...'
, try this:
- Empty the npm cache
npm cache clean --force
, - Delete all your folders containing compiled js/css files like
rm -rf /css/style.min.css
,rm -rf /js/bundle.min.js
and so on.