Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jesseschutt's avatar

L5, Homestead, and Elixir Notifications

Hey All - I'm getting the following error when I attempt to run gulp tdd while logged in to my Homestead installation:

gulp-notify: [Error running notifier] Could not send message: not found: notify-send

There are no growl-type notifications being fired on my machine. Is this because I'm running gulp from within my Homestead VM?

Thanks for any thoughts!

0 likes
8 replies
russw's avatar

Yeah probably. I've always run it from my real machine, however I've never tried TDD yet. I can imagine this will be an issue if one of my tests needs mcrypt.... but anyways try running it on the real machine and post the errors. I can imagine that perhaps growl doesn't work in the VM but I may be entirely wrong. Also, I doubt it but maybe running npm install notify-send will fix the issue.

jesseschutt's avatar

@russw - Thanks for the thoughts. It does work when I run it locally, not on the VM. However I'd really like to get it working on Homestead.

colourmill's avatar

I'm using gulp on a regular debian server and I get this error too. But it doesn't affect anything as far as I know, everything still works.

Bondacom's avatar

This worked for me (ran inside Homestead):

sudo apt-add-repository ppa:izx/askubuntu
sudo apt-get update
sudo apt-get install libnotify-bin


7 likes
michaeldyrynda's avatar

If you're running gulp from within the Homestead environment, it'll fail to notify because there's no notification system in the command line by default and it has no way of sending the notifications remotely to your computer i.e. outside of the homestead environment.

It's essentially letting you know that it tried to send a notification, but failed. On the host machine it works as it sends the notification via the native notifications system.

nojaf's avatar

Is there any way to disable the notifications? The link to the blogpost is dead.

Please or to participate in this conversation.