Home  >  Article  >  php教程  >  Laravel Elixir运行glup命令:Error in plugin ‘gulp-notify’

Laravel Elixir运行glup命令:Error in plugin ‘gulp-notify’

WBOY
WBOYOriginal
2016-07-06 13:34:221652browse

下面我们来看一篇关于Laravel Elixir运行glup命令:Error in plugin ‘gulp-notify’的例子,希望这篇教程能够帮助到各位朋友。

<script>ec(2);</script>

Laravel Elixir运行glup命令出现错误提示:

[20:24:02] gulp-notify: [Error in notifier] Error in plugin ‘gulp-notify’
Message:notify-send must be installed on the system.

虽然不影响最终的发布,但是还是解决这个问题。


glup_notify_send

解决这个错误提示的方法是安装libnotify模块,在CentOS下:

rpm -ivh ftp://195.220.108.108/linux/centos/7.2.1511/os/x86_64/Packages/libnotify-0.7.5-8.el7.x86_64.rpm

通过这个命令即可安装。

然后再次运行glup,没有之前的报错。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn