-
Notifications
You must be signed in to change notification settings - Fork 322
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
node-notifier within node-webkit #33
Comments
This seem to be a similar issue as #17 ? Could you try to set |
Hey thank you. I will try tonight and I will let you know. |
Just encountered the problem and you might be able to solve it in a similar the fashion. My solution: Check the file permission flags of the Your file permissions must look like this: $ cd /Users/jacopodaeli/Desktop/PublipingTrainer.app/Contents/Resources/app.nw/node_modules/node-notifier/vendor/terminal-notifier.app/Contents/MacOS/
$ ls -l
-rwxr-x--x 1 user staff 46324 7 Nov 14:31 terminal-notifier My file was missing the executable flag, therefore |
How did this go @JacopoDaeli ? Is this issue resolved? |
Nope! :) |
Still the same |
Just in case this may help anyone else, the solution to this kind of problem is basically to adjust your file permissions. Most likely, the file |
Very good! Thanks for clearing that up. |
I'm trying to work with it my self.
I tried to chmod the file, and even copying the original terminal-notifier.app which comes with node-notifier(which works fine with out customPath) Any ideas? |
@doronsever: When you set You need to provide it with the full context of the binary, not just the top level |
10x @kurisubrooks, you were right... |
Didn't realise this wasn't in the docs, i'll add it soon. |
Thank you very much! |
Added to the docs in 346763c |
Good 👍 It can also be an absolute path, maybe that should be specified also. |
I'll update it now. |
Hi I am trying to use node-notifier within node-webkit and it doesn't work.
When I test the app with nodewebkit module it works perfecty, therefore when I pack my app it doesn't work anymore and I get this from my WebKit Console:
Command failed: /bin/sh: /Users/jacopodaeli/Desktop/PublipingTrainer.app/Contents/Resources/app.nw/node_modules/node-notifier/vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier: Permission denied
My App is based on Node-WebKit 0.8.6 and it runs over Mac OS X 10.9.
Anyone can help me with this problem?
The text was updated successfully, but these errors were encountered: