node-notifier icon indicating copy to clipboard operation
node-notifier copied to clipboard

No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting\

Open wave2588 opened this issue 6 years ago • 5 comments

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.

😆

wave2588 avatar Jan 08 '18 09:01 wave2588

@mikaelbr hi....

wave2588 avatar Jan 09 '18 02:01 wave2588

image

wave2588 avatar Jan 10 '18 02:01 wave2588

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

mikaelbr avatar Jan 13 '18 11:01 mikaelbr

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?

laurent22 avatar Nov 27 '20 21:11 laurent22

This is still a problem with ^9.1.2 on macOS 10.15.7.

Nokel81 avatar Dec 18 '20 20:12 Nokel81