Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"not found: notify-send" with laravel-elixir on a headless VM #76

Closed
liclac opened this issue Apr 8, 2015 · 5 comments
Closed

"not found: notify-send" with laravel-elixir on a headless VM #76

liclac opened this issue Apr 8, 2015 · 5 comments

Comments

@liclac
Copy link

liclac commented Apr 8, 2015

On a headless VM, you obviously don't want notify-osd installed, and I'd expect gulp-notify to fall down on plain terminal logging. Instead, it attempts to blindly call notify-send, which obviously fails…

I'm not sure if this is actually gulp-notify's fault, a dependency, or laravel-elixir - tell me if I should reopen this in a more appropriate repository.

@lazychino
Copy link

I had the same error on a Docker container

@lazytyper
Copy link

This happens, I think, on pure servers which do not have any desktop installed.
There should be a a way to supress this error, either automatically, or optionally.

@MattiJarvinen
Copy link

Still seeing this when running on docker

@lifeisfoo
Copy link

@MattiJarvinen-BA and @lazychino try with adding this line to your Dockerfile:

ENV DISABLE_NOTIFIER true

The documentation says:

If you are running on a system that handles notifications poorly or you simply do not wish to use gulp-notify but your project does? You can disable gulp-notify by using enviroment variable DISABLE_NOTIFIER. This will disable all methods; notify(), notify.onError and notify.withReporter.

@liclac and @lazytyper
In a "plain" server environment just use export DISABLE_NOTIFIER=true; to achieve the same result.

@liclac
Copy link
Author

liclac commented Jul 18, 2018

This was literally three years ago. Thanks though??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants