mikaelbr / gulp-notify

gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging
MIT License
592 stars 40 forks source link

gulp-notify: [Error running notifier] #68

Open jpcmf opened 9 years ago

jpcmf commented 9 years ago

Hello @mikaelbr Im getting this error

gulp-notify: [Error running notifier] Could not send message: Command failed: /bin/sh: /Users/fricks/Sites/equiparlab/node_modules/gulp-notify/node_modules/node-notifier/vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier: Permission denied

Do you know how can i fix it?

Thank you

mikaelbr commented 9 years ago

That's weird. May it be you installed the plugin with other permissions than you have while using it? So if you did a sudo npm install gulp-notify, that could cause the permissions for terminal-notifier to be super user, and your normal user wouldn't have access to that. One thing you could try is sudo chown -R $(whoami) /Users/fricks/Sites/equiparlab/node_modules/gulp-notify/node_modules/node-notifier for setting yourself as an owner of all files in the node-notifier package.

jpcmf commented 9 years ago

@mikaelbr It's working right now! Thank you. I have another issue with gulp-ruby-sass and gulp-notify. I dont receive error messages anymore. Do you know what's going on?

mikaelbr commented 9 years ago

This might be due to gulp-ruby-sass and it not emitting errors properly. I know there were some errors regarding this previously. Are you experiencing this still?