Skip to content
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

Not working in macOS Minterey (12.6, Intel)? #419

Open
benoitlahoz opened this issue Nov 27, 2022 · 0 comments
Open

Not working in macOS Minterey (12.6, Intel)? #419

benoitlahoz opened this issue Nov 27, 2022 · 0 comments

Comments

@benoitlahoz
Copy link

I've been trying to launch notifications by using notify and new NotificationCenter and have always the same error :

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant