mikaelbr/gulp-notify

Error File Not Found

Closed this issue · 8 comments

Any ideas?

08:22:37] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
Command failed: /usr/lib/ruby/1.9.1/fileutils.rb:1371:in `initialize': No such file or directory - /tmp/vagrant-notify/-home-vagrant-Development-mowermatcher-node_modules-gulp-notify-assets-gulp.png

Hi and thanks for posting! It seems like it can't find the default icon that is passed to it. This is probably due to vagrant doing something strange (I haven't really used Vagrant, so i couldn't tell you what.). If you try to set icon to undefined, does it work?

Thank you for responding so quick! when I try setting it, here's what happens:

Could not send message: Command failed: /usr/lib/ruby/1.9.1/fileutils.rb:1515:in `stat': No such file or directory - null

I'll look into a better way of disabling the icon, but I'm not really sure how to help with the actual problem: for vagrant to locate files.

Is it going to look for it no matter what? If I don't define it at all, just {message: 'testing'} it still looks for an icon...

I seem to be the only one with the problem so maybe it's the way I have someting configured - but I seem to be using a typical setup as explained here: http://jpbetley.com/vagrant-gulp-notifications/

Feel free to close the issue since it looks like it's just me......

It tries to use a default icon, but as soon as I have the time, I'll create a way to disable this. You can use v1.3.0 for now I think. This is before the default icons got implemented.

Specifically, it's due to these: https://github.com/mikaelbr/gulp-notify/blob/master/lib/report.js#L9-L17

yes, that did it. thank you! i'll try to solve the problem locating vagrant files and comment again if I find a way.

Perfect, thanks!