Fix ‘Discord Fatal JavaScript Error’ Issue

Fix ‘Discord Fatal JavaScript Error’ Issue

This guide is about Fix ‘Discord Fatal JavaScript Error’ Issue. So read this free guide, Fix ‘Discord Fatal JavaScript Error’ Issue step by step. If you have query related to same article you may contact us.

Fix ‘Discord Fatal JavaScript Error’ Issue – Guide

Discord is a great platform for communities, whether you want to play your favorite games, make friends, organize meetings and exchange ideas with like-minded people. You can use Discord in your web browser, but when using the Discord desktop app, you occasionally get a crash from Discord JavaScript. There are several reasons why this error can occur, from corrupt Discord configuration files to overactive antivirus software blocking loading. To fix Discord JavaScript crash on Windows 10, here’s what you need to do.

When a Discord JavaScript crash occurs, it is not immediately apparent what caused it. However, in most cases it is caused by a corrupt installation of Discord or another application or service (such as your antivirus software) that prevents it from working properly. For most users, repairing or reinstalling the Discord app will resolve the issue, but if another third-party app or service is causing the problem, you’ll need to dig deeper and ensure that Discord can load and run properly.

If that’s the case, you need to fix Discord using the steps below. Don’t forget that if the Discord app is not working on your PC or Mac, you can still use the Discord website or Discord mobile app to access your servers.

Fix the ‘Discord Fatal JavaScript Error’ issue

Uninstall BetterDiscord (if applicable)

As this issue arises when you are trying to run some custom scripts using BetterDiscord, the first thing we recommend is to uninstall BetterDiscord as it might be the root cause of this issue. Also, official Discord support will not provide any assistance because using BetterDiscord is a violation of their Terms of Service. To uninstall BetterDiscord, follow these steps:-

  • First of all, you will have to download the BetterDiscord setup from the official website.
  • Once downloaded, open it, accept the License Agreement and click “Uninstall BetterDiscord”.
  • Now select your Discord installation and simply click “Uninstall”.
  • Wait for the installation to uninstall your BetterDiscord and then check if the javascript fatal error occurred in discord again.
  • Reinstall Discord correctly

    It is possible that your Discord modules are not loading/reading correctly. In that case, a fresh install should resolve this Fatal Javascript error issue. To reinstall Discord correctly, follow the below steps:-

  • Let’s start by uninstalling Discord from Windows Uninstaller.
  • Press and hold the Windows key and press the R key to open Run.
  • In the Run program, type “appwiz.cpl” and press enter.
  • Now find and uninstall Discord from the list of these programs.
  • After uninstalling Discord Restart your computer.
  • Now you will have to uninstall two folders from your computer to completely remove Discord.
  • Press and hold the Windows key and press the R key to open Run again. Now type and press enter:-
  • Delete the folder named “Discord”, if you can’t find it, skip this step.
  • Now open run again and type:-
  • Find and delete the Discord folder from this folder as well. If you can find it, skip this step.
  • Now, we boot our computer in safe mode with Networking. Follow these steps:-
  • Click on the Start Menu icon and hold the Shift key to the right button on your keyboard, then click the “Restart” button button.
  • Now wait for the Windows recovery window to show up. once it shows up press “Troubleshoot”.
  • Now click on “Advanced Options”.
  • Now click on “Startup Settings”.
  • Now, when you are in the startup settings, click on “Restart”.
  • Now when your computer restarts, you should see a blue screen with several options.
  • Select “Safe Mode with Networking” using the “F5” key.
  • Once in safe mode, just open your browser and download the latest version of Discord.
  • Install Discord Client and check if the problem persists.
  • Once the Discord Client is installed, you can restart your computer in normal mode.
  • Whitelist of discord files in your antivirus

    If you are having this issue while installing Discord. Some users have experienced a situation where their antivirus (Avast in most cases) accidentally quarantined some of the installer files needed for the update or for the installation to complete, thinking it was a potentially dangerous file. You will have to locate the file and whitelist it for the installation process to continue. Follow the instructions below to do this with your Avast antivirus.

  • If Avast is already open, you can find it on the taskbar, right-click on it, and select open. If Avast doesn’t load on startup, you can always start it manually by locating it under Start.
  • Proceed by selecting Scan >> Scan for Virus >> Quarantine (Virus Vault). the quarantine button is located somewhere at the bottom of the page.
  • When opening Quarantine, you should notice some Discord related files. Restore these files and click “Add to exclusions”. If some of these files have already been generated by the installer, click Replace to replace these files and start the installation again.
  • To prevent this confusion from happening again with a different file, you will need to set up the installer and the tool itself as an exception in Avast antivirus, depending on whether the error occurred during the installation phase or after it was already installed.

  • Open your Avast antivirus in any of the ways we mentioned earlier. After that, navigate to Settings >> Exclusions. This is where users are free to put files that shouldn’t be taken care of and that shouldn’t be scanned or registered as a threat.
  • Add the Discord installation folder to exclude it from scanning. If the error occurs while installing the tool, navigate to the location where the installer is located and choose it.
  • After that, close the Avast window and try running or installing Discord again and check if the error is gone.
  • Final note

    I hope you like the guide Fix ‘Discord Fatal JavaScript Error’ Issue. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.

    We will be happy to hear your thoughts

    Leave a reply

    How to Guides, Best Lists, Top 10 and Tech News - Compsmag
    Logo