node-notifier icon indicating copy to clipboard operation
node-notifier copied to clipboard

Node-notifier silently fails when using electron-forge

Open mangosing opened this issue 5 years ago • 2 comments

I created a vanilla electron forge project using their webpack script npx create-electron-app my-new-app --template=webpack. From there I followed the node-notifier docs and inserted the notifier.notify('Message'); inside the createWindow function. I an console.log noitifer but and not getting any notification. Does anyone have an idea of what may be causing this? Is this being blocked by electron-forge somehow? Any and all help is much appreciated.

mangosing avatar Jan 11 '21 21:01 mangosing

duplicate of #352 ?

hovancik avatar Jan 13 '21 15:01 hovancik

@hovancik Im not sure this is exactly a duplicate. If you follow the Quickstart guide from the electron docs and then add in node-notifier in the main process it works. When you try to do the same thing even with a 'fresh-out-the-box' electron-forge install it silently fails from the main process but not the renderer process.

mangosing avatar Jan 13 '21 16:01 mangosing