gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 13:07:18 27 4
gpt4 key购买 nike

我正在尝试在我安装的 Laravel 5.1 中设置 Gulp。我已经运行然后命令 npm install正如 Laravel 文档中所指定的那样,效果很好。

但是,当我现在运行命令时 gulp我收到以下消息:

ubuntu@NAME:/var/www/html/FOLDER# gulp
[14:04:56] Using gulpfile /var/www/html/FOLDER/gulpfile.js
[14:04:56] Starting 'default'...
[14:04:56] Starting 'sass'...
[14:04:56] Running Sass: resources/assets/sass/app.scss
[14:04:56] Finished 'default' after 532 ms
[14:04:56] gulp-notify: [Laravel Elixir] Sass Compiled!
[14:04:56] Finished 'sass' after 666 ms
[14:04:56] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
not found: notify-send

有没有其他人遇到过这个错误?
gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
not found: notify-send

谢谢

最佳答案

我自己找到了解决这个问题的方法。我在我的 Ubuntu 机器上运行了以下命令:

sudo apt-get update
sudo apt-get install libnotify-bin

之后,我现在可以运行 gulp并获得以下信息:
ubuntu@NAME:/var/www/html/FOLDER# gulp
[14:06:59] Using gulpfile /var/www/html/FOLDER/gulpfile.js
[14:06:59] Starting 'default'...
[14:06:59] Starting 'sass'...
[14:06:59] Running Sass: resources/assets/sass/app.scss
[14:07:00] Finished 'default' after 736 ms
[14:07:00] gulp-notify: [Laravel Elixir] Sass Compiled!
[14:07:00] Finished 'sass' after 931 ms

一切看起来都不错。希望这对其他 SO 用户有用。

关于laravel - gulp 通知 : [Error in notifier] Error in plugin 'gulp-notify' not found: notify-send,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31431503/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com