A JavaScript error occurred in the main process

Anonymous
2020-10-11T04:21:05+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)

Microsoft Edge | Other | Windows 10

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
{count} votes

11 answers

Sort by: Most helpful
  1. DaveM121 811.4K Reputation points Independent Advisor
    2020-10-11T06:33:38+00:00

    Hi LAIO'BRIEN1

    I am Dave, an Independent Advisor, I will help you with this . . .

    There must be a startup item referring to Discord still in your Registry:

    Click the link below to download a small free utility that does not require installation

    https://docs.microsoft.com/en-us/sysinternals/d...

    When the file downloads, unzip it.

    Depending on your system, run Autoruns or Autoruns64 as Administrator

    In the search box of Autoruns, type discord and press Enter

    Right click and delete any entries found

    22 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-10-11T10:50:05+00:00

    WoW, thank you ever sooooo much, so helpful, problem solved!

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-10-19T07:29:30+00:00

    thank you so much my discord is now working fine

    0 comments No comments
  4. Anonymous
    2020-11-09T16:00:00+00:00

    When I run Autoruns 64 as an administrator, nothing happens, just code runs by. There is no search bar. When I try to download it again, it pops up with the same error.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2020-12-06T21:53:49+00:00

    Witam LAIO'BRIEN1

    Jestem Dave, niezależny doradca, pomogę ci w tym . . .

    Musi istnieć element startowy odnoszący się do Discorda nadal w rejestrze: Kliknij poniższy link, aby pobrać małe darmowe narzędzie, które nie wymaga instalacji https://docs.microsoft.com/en-us/sysinternals/d... Gdy plik zostanie pobrany, rozpakuj go.

    W zależności od systemu uruchom Autoruns lub Autoruns64 jako administrator W polu wyszukiwania Autoruns wpisz discord i naciśnij klawisz Enter Kliknij prawym przyciskiem myszy i usuń znalezione wpisy

    [Tytuł okna]

    Błąd

    [Instrukcja główna]

    Wystąpił błąd JavaScript w procesie głównym

    [Zawartość]

    Nieprzechoczony wyjątek:

    SyntaxError: C:\Users\Piotrek\AppData\Local\Discord\app-0.0.308\resources\app\betterdiscord\config.json: Nieoczekiwany koniec wejścia JSON

    w: JSON.parse (<anonymous>)

    w Object.Module._extensions.. json (wewnętrzny/moduły/cjs/ładowarka.js:906:27)

    w module.load (wewnętrzny/moduły/cjs/loader.js:735:32)

    przy Module._load (wewnętrzny/moduły/cjs/loader.js:648:12)

    w Module._load (elektron/js2c/asar.js:717:26)

    w Function.Module._load (elektron/js2c/asar.js:717:26)

    w module.require (wewnętrzny/moduły/cjs/loader.js:775:19)

    (wewnętrzne/moduły/cjs/pomocnik.js:68:18)

    w: Object.<anonymous> (C:\Users\Piotrek\AppData\Local\Discord\app-0.0.308\resources\app\betterdiscord\index.js:4:16)

    przy Module._compile (wewnętrzny/moduły/cjs/loader.js:880:30)

    [OK] 

    Proszę o pomoc, nie wiem, co się stało

    0 comments No comments