Share via

A JavaScript error occurred in the main process

Anonymous
2020-10-11T04:18:38+00:00

Please help; I have uninstalled Discord app but keep getting the following error when I switch on my computer:

A JavaScript error occurred in the main process

Uncaught Exception:

Error: Cannot find Module

'C:\Users\laisa\AppData\Local\Discord\app-0.0.307\resources\build_info.json'

Require Stack:

-

C:\Users\laisa\AppData\Local\Discord\app-0.0.307\resources\app.asar\app_bo...\buildInfo.js

-

C:\Users\laisa\AppData\Local\Discord\app-0.0.307\resources\app.asar\app_bootstrap\inde....

-

at Module._resolveFilename (internal/modules/cjs/loader/js:717:15)

at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7729:16)

at Module._load (internal/moduiles/cjs/loader.js:622:27)

at Module._load (electron/js2c/asar.js:717:26)

at Function.Module._load (electron/js2c/asar.js:717:26)

at Module.require (internal/modules/cjs/helpers.js:68:18)

at Object.<anonymous>

C:\Users\laisa\AppData\Local\Discord\app-0.0.307\resources\app.asar\app_bootstrap...:19)

at Module._compile (internal/modules/cjs/loader.js:880:30)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Paulo GM 65,245 Reputation points Independent Advisor
    2020-10-11T04:28:33+00:00

    Hi LAIO'BRIEN1, I am Paulo. I'm an Independent Advisor and an individual like you inclined to help.

    Since you've removed the app, you might as well remove the remaining data in the following location:

    Press Windows key + R then enter these locations then delete the Discord folder:

    %AppData%/Discord

    %LocalAppData%/Discord

    You should restart the computer once done.

    Reference: https://www.reddit.com/r/discordapp/comments/43...

    (Standard disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.)

    Let me know if this helps.

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-10-11T10:51:13+00:00

    Thank you so much, it worked!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments