Share via

How to permanently fix this JavaScript error?

Evie Mannall 0 Reputation points
2026-04-07T19:04:08.34+00:00

I’ve been downloading mods off of CursedForge for Sims4 and everything has been going good until recently when I got this pop up. It reads:

uncaught exemption:

TypeError: Object has been destroyed

at lpcMainlmpl.<anonymous> (C:\Users\eviea\documents\electronic arts\sims 4 mod manager\resources\app.asar\code\main.js:1:104561)

at lpcMainlmpl.emit (node:events:518:28)

at session.<anonymous> (node:electron/js2c/browser_init:2:213757)

at session.emit (node:events:518:28)

I am in no way a coder or good with any of this but can slightly get my way around a laptop. Can anyone explain how to permanently fix this?

Windows for home | Other | Gaming
0 comments No comments

2 answers

Sort by: Most helpful
  1. Lychee-Ng 17,440 Reputation points Microsoft External Staff Moderator
    2026-04-08T10:27:20.1366667+00:00

    Hi Evie Mannall,

    I understand how confusing it is to suddenly get a technical error message like this, when everything had been working fine. The Q&A Assist has given a very detailed explanation on the tech behind it, so I’ll just keep it short:

    This error is an application bug. It is not something you can permanently fix from Windows.

    The message shows the crash is happening inside the Sims 4 Mod Manager itself. What you saw means the app is trying to use something that has been closed internally. Here are the options you can consider:

    • Update the Mod Manager, ensure you’re on the latest version.
    • Reinstall it, or use a different one until an update is available.
    • Check which specific action triggered the crash and avoid it.

    If the error still occurs, only the Mod Manager’s developer can fully fix this by updating the app and releasing a corrected version. You need to report the issue to them, including the error text you posted, so it can be fixed properly in a future update.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Q&A Assist
    2026-04-07T19:04:19.7966667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message shows a JavaScript/Node/Electron runtime error inside the Sims 4 Mod Manager app (app.asar\code\main.js). This is an application bug, not something that can be permanently fixed by changing Windows settings or basic user actions.

    Because the error is thrown from inside the app’s own code (TypeError: Object has been destroyed), only the app’s developer can permanently fix it by updating their JavaScript/Electron code and releasing a new version. On the Windows side, the system is working as designed: it just runs the app and reports the error.

    The only practical options are:

    1. Check for an updated version of Sims 4 Mod Manager and install it.
    2. If the error persists, report the bug (including the full error text) to the Mod Manager’s developer or support channel so they can fix their JavaScript code.
    3. As a workaround, avoid the specific action that triggers the error (for example, a particular mod, button, or window) or temporarily use a different mod manager.

    There is no supported way in Windows or Microsoft Edge DevTools to “patch around” this specific Object has been destroyed error in a third‑party Electron app; it must be fixed in the app’s own JavaScript.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.