question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while quiting the app on mac

See original GitHub issue

A 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marc2332commented, Aug 27, 2019

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 👍

0reactions
sachin-philipcommented, Aug 27, 2019

it happens to me every time.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found