-
Notifications
You must be signed in to change notification settings - Fork 322
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
Command Failed on Windows with wait: true
#97
Comments
wait: false
wait: true
Thanks for your issue! I'll look into it |
Note that the error comes from the callback: notifier.notify({
title: opts.title,
message: opts.message,
// wait with callback until user action is taken on notification
wait: true
}, function(err, response) {
if(err) {
console.log(err, err.stack);
}
}); Here is a slightly better stacktrace that has some references into the
|
On Windows 10, I'm trying to create a notification that doesn't disappear until it is closed. with wait: true it closes and there is an error in the console.
|
@mikaelbr I can confirm this. Is there any workaround to make sticky notifications until this is fixed? I'd like to help but sadly it seems like the error arises from // edit: I also tried WindowsBalloon without fallbacks. There's no error poppin' with this but it's not sticky as well ( |
I'm somewhat getting around this by checking |
Same issue here with Windows 10 trying to use the
|
I am also failing to get 'sticky' toasts on Windows 10 and 7 Is nels-o/toaster#2 relevant to this? 7 returns 10 same as @djpereira |
I'm still having this issue when using gulp-notify, which is using node-notifier 4.6.1. I'm on Windows 10, node 6.9.1, and npm 3.10.8. Usage is like this: var eventMessage = 'File ' + event.path + ' was ' + event.type + ', running tasks...';
return gulp.src('').pipe(plug.notify({
onLast: true,
message: eventMessage
})); Error is:
Removing the |
How does this work now in master branch when switching toaster. Could someone please test out by doing:
|
Closing this as we've switched toaster implementation. |
Related to #33
I am running
node-notifier
inside nw.js v0.12.3 on Windows 10.The notification pops without a problem and you can even start multiple notifications but it seems that after the first notification times out, the app will crash.
This only happens when
wait: true
. Keeping it as as false, doesn't cause any crashes and doesn't seem to limit any functionality.You can see the source code here:
https://github.com/gitterHQ/desktop/pull/100/files#diff-d74e5f0a212623b40b7c84b3d6313d78R49
The text was updated successfully, but these errors were encountered: