Open benoitlahoz opened 1 year ago
I've been trying to launch notifications by using notify and new NotificationCenter and have always the same error :
notify
new NotificationCenter
Error: Couldn't connect to growl (might be used as a fallback). Make sure it is running
My code looks like this:
notify('Hello world!'); // OR new NotificationCenter({ withFallback: true }).notify( { title: 'Hello', subtitle: 'world!', wait: true, }, (err, response) => { console.log('ERR', err); console.log('RESPONSE', response); } );
Am I missing something? Thank you!
Electron's sandboxing is true, nodeIntegration is false, contextIsolation is true.
OS: macOS Monterey 12.6 Node: 16.13.2 Electron: 20.1.4 Vite: 2.6.14
I've been trying to launch notifications by using
notify
andnew NotificationCenter
and have always the same error :My code looks like this:
Am I missing something? Thank you!
Electron's sandboxing is true, nodeIntegration is false, contextIsolation is true.
OS: macOS Monterey 12.6 Node: 16.13.2 Electron: 20.1.4 Vite: 2.6.14