gulp-notify spawn EACCES
bissolli opened this issue · 7 comments
Hi guys!
I am using Laravel Valet environment with Elixir and I am facing that following issue with gulp-notify:
https://transfer.sh/13bfYe/screen-shot-2016-07-12-at-01.56.34.png
Somebody knows how to fix it?
May be unrelated, but do you have Node Notifier installed?
https://github.com/mikaelbr/node-notifier
I am getting the same thing on mac os x.
[20:22:16] Starting 'sass'...
[20:22:17] gulp-notify: [SASS Compiled] All SASS files have been recompiled to CSS.
[20:22:17] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
Message:
spawn EACCES
Details:
code: EACCES
errno: EACCES
syscall: spawn
[20:22:17] Finished 'sass' after 710 ms
EACCES
seems to be caused by the process not having enough access to the underlying vendor executable (terminal-notifier.app inside the node-notifier module). This maybe caused by installing the node packages as administrator (sudo) or some other users that the current user doesn't have access to. You can try something like changing the owner to the current user on the node_modules directory (node-notifier package). Something like sudo chmod -R a+rwx ...
. Does that make sense?
Sorry for the late feedback but I solved the problem deleting my node_modules folder and running npm install again!
Great. Closing this. Thanks for following up.
I got same error on
$ node -v
v6.9.4
But the error is hidden after I upgraded to
$ node -v
v8.4.0
No need to change permission.