gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
mort3za opened this issue · 7 comments
I always get this error (some seconds after a successful notify). What is it?
gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
Message:
Command failed:
Details:
killed: false
code: 3
signal: null
My notify settings:
.pipe(notify({
"title": "ProjectX",
"onLast": true,
"wait": true,
"message": 'Yep'
} ))
OS: Windows 8.1 x64
After updating nodejs to 0.12.7 x64, I see more details on error:
Message:
Command failed: C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\assets\gulp.png -m Yep -t Project - build done -q true -w true
Details:
killed: false
code: 3
signal: null
cmd: C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\assets\gulp.png -m Yep -t Project - build done -q true
-w true
Hi, I have the same issue.
The error is raised, when wait
option is used (Just before timeout event should be triggered).
Message:
Command failed: d:\www\dev\rb\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p d:\www\dev\rb\node_modules\gulp-notify\assets\gulp.png -m d:\www\dev\rb\sw\core\bin\core-2016-02-29.zip kB -t Done -q true -w true
Details:
killed: false
code: 3
signal: null
cmd: d:\www\dev\rb\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p d:\www\dev\rb\node_modules\gulp-notify\assets\gulp.png -m d:\www\dev\rb\sw\core\bin\core-2016-02-29.zip kB -t Done -q true -w true
I've tried to run d:\www\dev\rb\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p d:\www\dev\rb\node_modules\gulp-notify\assets\gulp.png -m d:\www\dev\rb\sw\core\bin\core-2016-02-29.zip kB -t Done -q true -w true
in terminal and it works just fine.
This is a bug in https://github.com/mikaelbr/node-notifier: mikaelbr/node-notifier#97
The following code causes the same error:
var notifier = require('node-notifier');
notifier.notify({
title: 'My awesome title',
message: 'Hello from node, Mr. User!',
sound: true,
wait: true
}, function (err, response) {
console.log(err);
});
{ [Error: Command failed: d:\www\dev\rb\node_modules\node-notifier\vendor\toaster\toast.exe -m Hello from node, Mr. User! -t My awesome title -w true
]
killed: false,
code: 3,
signal: null,
cmd: 'd:\\www\\dev\\rb\\node_modules\\node-notifier\\vendor\\toaster\\toast.exe -m Hello from node, Mr. User! -t My awesome title -w true' }
Alguien sabe como resolver esto?
Después de actualizar nodejs a 0.12.7 x64, veo más detalles sobre el error:
Message: Command failed: C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\assets\gulp.png -m Yep -t Project - build done -q true -w true Details: killed: false code: 3 signal: null cmd: C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\node_modules\node-notifier\vendor\toaster\toast.exe -onLast true -p C:\xampp2\htdocs\nik\joomfa\node_modules\gulp-notify\assets\gulp.png -m Yep -t Project - build done -q true -w true
Tengo el mismo error, sabes como resolverlo?
Had the same issue. You need to execute gulp/npm with admin rights to get it to work.
Same error here, looks like it's not installing the dependency. Running npm with admin privileges shouldn't be a solution.