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

Permission Error #17

Closed
Grokthol opened this issue Aug 15, 2014 · 4 comments
Closed

Permission Error #17

Grokthol opened this issue Aug 15, 2014 · 4 comments

Comments

@Grokthol
Copy link

I am using node-notifier to display notifications on OSX. Running in development, the notifications work beautifully. When I package the application and deploy it however, the app receives the following error in the notify callback every time it tries to display a notification.

killed=false, code=126, signal=null

Has anyone else ran into this issue? Or is there a simple solution that I'm missing?

@mikaelbr
Copy link
Owner

Hi and sorry for the late response!

Are you running this in a node-webkit solution and/or what do you think about when you say deploy?

@Grokthol
Copy link
Author

I was running it in node-webkit, and packaging it into a dmg along with the rest of the application. I was able to resolve the problem, it appears to have been an issue with node-webkit.

@mikaelbr
Copy link
Owner

Great! Note that the latest version (the one supporting appIcon and contentImage) doesn't get accepted to the Mac App Store due to usage of private functions. This will hopefully change and the notification API allow setting of icon and image, but for now if you want to be on the Mac App Store you can use node-notifier pre 3.0.0 or this existing fork with the old version: https://github.com/Teamwork/node-notifier-allowed-in-mac-app-store

But as far as I can see there are no changes in the fork so you might as well be using a pre 3.0.0 version of node-notifier.

@Grokthol
Copy link
Author

perfect, thanks.

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

2 participants