简体   繁体   English

GLib-GObject-CRITICAL。 在新的laravel项目上执行“ gulp”时出错

[英]GLib-GObject-CRITICAL. Error when executing 'gulp' on fresh laravel project

Does anyone have a clue or any direction how to fix this error. 有谁有线索或任何方向如何解决此错误。 Running CentOS 6.7 运行CentOS 6.7

[07:42 PM]-[vagrant@machine1]-[/var/www/laracast]
$ gulp
[19:42:52] Using gulpfile /var/www/laracast/gulpfile.js
[19:42:52] Starting 'default'...
[19:42:52] Starting 'sass'...

Fetching Sass Source Files...
   - resources/assets/sass/app.scss


Saving To...
   - public/css/app.css

[19:42:53] Finished 'default' after 733 ms
[19:42:53] gulp-notify: [Laravel Elixir] Sass Compiled!
[19:42:53] Finished 'sass' after 833 ms
[19:42:53] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
Message:

(notify-send:24561): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Disable gulp notify by export DISABLE_NOTIFIER=true 通过export DISABLE_NOTIFIER=true禁用gulp通知export DISABLE_NOTIFIER=true

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? 如果您在处理通知的系统上运行不佳,或者只是不想使用gulp-notify,但是您的项目可以呢? You can disable gulp-notify by using enviroment variable DISABLE_NOTIFIER. 您可以使用环境变量DISABLE_NOTIFIER禁用gulp-notify。

export DISABLE_NOTIFIER=true; 出口DISABLE_NOTIFIER = true;

This will disable all methods; 这将禁用所有方法。 notify(), notify.onError and notify.withReporter. notify(),notify.onError和notify.withReporter。

See details here: disable-gulp-notify 在此处查看详细信息: disable-gulp-notify

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM