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

rene's avatar
Level 2

gulp-notify: [Error in notifier] Error in plugin 'gulp-notify' not found: notify-send

How to fix this:

vagrant@homestead:~/Code/site$ gulp
[12:58:10] Using gulpfile ~/Code/site/gulpfile.js
[12:58:10] Starting 'default'...
[12:58:10] Starting 'sass'...
[12:58:12] Finished 'default' after 2.36 s
[12:58:13] gulp-notify: [Laravel Elixir]
[12:58:13] Finished 'sass' after 3.29 s
[12:58:13] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
not found: notify-send

I'm on Homestead. Tried: $ sudo npm install -g gulp-notify and $ npm install --save-dev gulp-notify It's more then oke for me to disable the notify-send, that probably doesn't even work with Vagrant.

@jeffreyway, or isn't Elixir compatible with homestead at all? :P

0 likes
23 replies
rene's avatar
Level 2

There is no real solution over there.

@jefferyway, is there a way to disable notifications?

Bondacom's avatar

From the VM, this worked for me:

sudo apt-add-repository ppa:izx/askubuntu
sudo apt-get update
sudo apt-get install libnotify-bin
14 likes
Ingram's avatar

@Bondacom this works. There is no need for adding the PPA, though. libnotify-bin comes from ubuntu's own repo.

4 likes
burnerprofile's avatar

I found the combination of installing libnotify-bin on homestead, and using the vagrant-notify was required for using homestead, at least for me. I may need to update the tutorial though, it appears the message isn't reflected anymore, but everything else seems right.

dusty's avatar

@Stepquick I did that, and now I get a notification, but the notification message is empty. Is that what you mean, "the message isn't reflected"?

dusty's avatar

I tried running gulp from the host machine (Linux Mint 17.1 KDE) instead of the Homestead VM, and I get the same result - a notification with the title: "Green!" but no message at all.

Sithu's avatar

I'm on ubuntu and I have the same issue. I got only Laravel logo and Laravel Elixir without any red, green and message.

danzzz's avatar

"sudo apt-get install libnotify-bin" did the trick for me

9 likes
zachleigh's avatar

@danzz That will clear up the gulp-notify error, but wont help with the empty Elixir message many of us are experiencing.

markrailton's avatar

Installing libnotify-bin solved it for me for 1 run, then after that it started erroring again, not to mention that it never gave me any notifications on local machine, even with terminal-notifier installed.

markrailton's avatar

For anyone else having this and wants to stop gulp-notify from running in the first place, simply add the following line as Line 1 on your gulpfile.js

process.env.DISABLE_NOTIFIER = true;
15 likes
zachleigh's avatar

I found a solution for the empty notice problem. Simply update Elixir and it should work.

sos99's avatar

@rene

This is not a Problem .

you don't have gulp-notify so the message don't "revised" .

Just ignore this error. (This is not a Problem at all)

CanBabaoglu's avatar

Installing libnotify-bin did the trick for me, too.

sudo apt-get install libnotify-bin
1 like
mattisback@gmail.com's avatar

I was getting the following output when running gulp:

[USER html]$ sudo gulp
[13:39:55] Using gulpfile /var/www/html/gulpfile.js
[13:39:55] Starting 'default'...
[13:39:55] Starting 'less'...
[13:39:55] Running Less: resources/assets/less/app.less
[13:39:56] Finished 'default' after 512 ms
[13:39:58] gulp-notify: [Laravel Elixir] Less Compiled!
[13:39:58] Finished 'less' after 2.49 s
[13:39:58] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
not found: notify-send

On Centos running the following command did the trick for me.

sudo yum install libnotify

Example output:

[USER html]$ gulp
[13:40:50] Using gulpfile /var/www/html/gulpfile.js
[13:40:50] Starting 'default'...
[13:40:50] Starting 'less'...
[13:40:50] Running Less: resources/assets/less/app.less
[13:40:50] Finished 'default' after 509 ms
[13:40:52] gulp-notify: [Laravel Elixir] Less Compiled!
[13:40:52] Finished 'less' after 2.49 s
GM's avatar

I struggled to get the VM sending notify messages to the OS/X host machine notification center. So in the end, I ran gulp watch from the host OS/X not from the VM. This has the added benefit of running much faster than on the VM.

Two small things you need to do on OS/X:

  1. Install node on your OS/X
  2. The node-module, laravel-elixir, depends on gulp-sass. In turn, gulp-sass depends on node-sass. Node-sass, when installed, runs a postinstall script that detects your system OS and makes some modifications.

To make this work for you, just run: npm rebuild node-sass

Spin up a terminal, cd to your source directory and run gulp watch

All your notifications should go straight to the OS/X notification centre. No need to install any plugins or anything.

Just sayin....works for me. Should work for others (on OS/X)...

2 likes
stephanj's avatar

Installing libnotify-bin solved it for me also.

1 like
rafaz's avatar

also installing global helped ... i.e. npm install gulp -g did the trick for me

Yashar's avatar

You can also run gulp with --silent to ignore notifications

1 like

Please or to participate in this conversation.