Getting the Spawn EACCES error in Ubuntu - node environment

4.9k views Asked by At

Getting the Spawn EACCES error in Ubuntu - node environment

Running "imagemin:dist" (imagemin) task
✔ public/img/github.png (saved 183 B - 2%)
✔ public/img/glyphicons-halflings-white.png (already optimized)
✔ public/img/facebook.png (saved 96 B - 1%)
Warning: spawn EACCES Use --force to continue.
2

There are 2 answers

1
Lachezar On

Check that the files you are working with have permissions granted for your account.

0
dmathisen On

It is a permission error. Try using sudo... sudo grunt imagemin.