Error while quiting the app on mac
See original GitHub issueA JavaScript error occurred in the main process
Error Details:
Uncaught Exception:
TypeError: app.close is not a function
at App.app.on (/Applications/Graviton.app/Contents/Resources/app.asar/main.js:45:7)
at App.emit (events.js:182:13)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
If an app freezes or quits unexpectedly on Mac - Apple Support
If an app doesn't quit as expected, or it's unresponsive, you can force quit the app (you may lose unsaved changes). Choose Apple...
Read more >Apps Crashing on macOS Ventura? Here's the Fix
How to Fix "Apps Crashing on macOS Ventura" Error ; Click the Apple menu > Force Quit. Find the app that keeps crashing...
Read more >How To Force Quit A Mac App When An Error Occurs
An alternative way to force a Mac app to close is with a keyboard shortcut. The key combination that triggers this requires three...
Read more >“Your system has run out of application memory” Mac Error
Close the open file(s) causing massive memory usage, and/or quit out of the application causing the memory issue. You can use the force...
Read more >Apps Freeze or Quit Unexpectedly on macOS 10.14? How to Fix
You can quickly fix a frozen or unresponsive app by forcing it to quit if the issue isn't related to compatibility or disk...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

After looking the electronJS docs, I have figured the is no “close” method for “app”. But I don’t know why it just throws the error on you 🤔 . I think have fixed it, but I will investigate more.
For the moment I close this issue since it will be fixed in the next version.
Thank you Sachin 👍
it happens to me every time.