node-notifier
node-notifier copied to clipboard
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting\
I used 'node-notifier' find a error.
Error: Command failed: /var/folders/l3/bzc5qlt92c39p71q64_z4h_m0000gn/T/.org.simulatedgreg.electron-vue.1WuUal -title \"title_\" -message \"message_\" -sound \"Bottle\" -timeout \"5\" -json \"true\"\n2018-01-08 17:16:54.908 .org.simulatedgreg.electron-vue.1WuUal[49660:5643899] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting\n
What does it mean and how can I fix it ? Looking forward your comply.
😆
@mikaelbr hi....
Hi. Am I right in assuming you're using this inside electron? Have you seen this? https://github.com/mikaelbr/node-notifier#within-electron-packaging
We've also started having this problem after upgrading Electron to v10. We're unpacking the node-notifier vendor folder (and I can see it's indeed unpackaged in the .app file) and it was working till now. But in latest version we're getting the same error for the following command:
$ /var/folders/sz/.../T/.net.cozic.joplin-desktop.CtbwjL -appID "net.cozic.joplin-desktop" -title "test" -message "testing" -appIcon "....../Resources/build/icons/512x512.png" -timeout "10" -json "true"
2020-11-27 20:50:36.004 .net.cozic.joplin-desktop.CtbwjL[56031:3937524] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
See here: https://github.com/laurent22/joplin/issues/4142
I'm curious where this error message comes from? Is that the node-notifier executable that's looking for Info.plist? If so, is it possible to figure out where it's looking for it?
This is still a problem with ^9.1.2
on macOS 10.15.7.