node-notifier
node-notifier copied to clipboard
electron-angular not work for win 7
I using electron+angular (https://github.com/maximegris/angular-electron) to building project, but I did not use asar
. I try to some function like WindowsBalloon
, Cross-Platform Advanced Usage
..., can't work properly.
the error message:
Error: Message is required.
at doNotification (balloon.js:121)
at WindowsBalloon.push../node_modules/node-notifier/notifiers/balloon.js.WindowsBalloon.notify (balloon.js:91)
at HomeComponent.push../src/app/components/home/home.component.ts.HomeComponent.ngOnInit (home.component.ts:39)
at checkAndUpdateDirectiveInline (core.js:9250)
at checkAndUpdateNodeInline (core.js:10514)
at checkAndUpdateNode (core.js:10476)
at debugCheckAndUpdateNode (core.js:11109)
at debugCheckDirectivesFn (core.js:11069)
at Object.eval [as updateDirectives] (HomeComponent_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:11061)
Error: Notifier (C:\Users\0123\Desktop\dev\EA\node_modules\electron\dist\resources\electron.asar\vendor\notifu\notifu64.exe) not found on system.
at utils.js:102
at utils.js:116
at ZoneDelegate.push../node_modules/zone.js/dist/zone-mix.js.ZoneDelegate.invokeTask (zone-mix.js:421)
at Object.onInvokeTask (core.js:3815)
at ZoneDelegate.push../node_modules/zone.js/dist/zone-mix.js.ZoneDelegate.invokeTask (zone-mix.js:420)
at Zone.push../node_modules/zone.js/dist/zone-mix.js.Zone.runTask (zone-mix.js:188)
at push../node_modules/zone.js/dist/zone-mix.js.ZoneTask.invokeTask (zone-mix.js:496)
at ZoneTask.invoke (zone-mix.js:485)
at data.args.(:4200/anonymous function) (http://localhost:4200/polyfills.js:3729:25)
at ZoneDelegate.push../node_modules/zone.js/dist/zone-mix.js.ZoneDelegate.invokeTask (zone-mix.js:421)
Please see https://github.com/mikaelbr/node-notifier#within-electron-packaging
Please see https://github.com/mikaelbr/node-notifier#within-electron-packaging
I try it, is not work.