‘Discord JavaScript Error’ on Discord | 100% Fix

Are you burdened with annoying hurdles trying to install Discord, specifically a particularly aggravating JavaScript error? You are not sole, but not to worry as we’ve got the solution to get Discord installed and running in no time. Here, how to fix the Discord JavaScript Error on Discord.

3 Ways to Discord JavaScript Error

Method #1 Delete Discord Files in localappdata & AppData

Discord always stores temporary data on the PC that helps it run as it should, or in our case, reason errors to crop up. To give Discord a clear run at booting up without the JavaScript error or any other problem for that occurrence, we need to delete these files. Follow the steps below.

Discord JavaScript Error on Discord

Step 1: To start, close Discord via the Task Manager (Right-click on the Taskbar and select “Task Manager”, then select the Discord process and click on “End Task”).

Step 2: After that, right-click on the Windows Start Menu icon in the bottom left-hand corner of the desktop.

Step 3: In the contextual menu that appears, select “Run.”

Step4: In the small “Run” window in the bottom left-hand corner, enter “%appdata%” into the empty field and click on the “Run” button below.

Step 5: In the Windows Explorer window that opens, locate the folder named “Discord.” Right-click on the folder, and click “Delete” in the contextual list.

Step 6: Return to the Start Menu and load up “Run” once more.

Step 7: Type “%localappdata%” in the field and hit “Run”.

Step 8: Find the “Discord” folder and delete as above by right-clicking on it then selecting “Delete”.

Step 9: Relaunch the Discord setup file and follow the steps provided by the installation wizard.

Read Also:

  1. What Movie Features the Winter Olympics?
  2. Jeff Green ID Love to Settle Down in Brooklyn
  3. Heres what Dansby Swanson said before the Braves Played the

Method #2 White list Discord Installation Files In Antivirus Software

A paw of antivirus apps is known to target specific Discord installation files and practically quarantine them during installation, meaning Discord is unable to access them to complete the process, which reasons the JavaScript error message. One file that is usually flagged as potentially dangerous by antivirus software is the “Discord voice” application-specific approximate recovery file.

To bypass an overeager antivirus, we need to white list the files it is picking up and quarantining. The method differs from software to software. So we are using the ever-popular – and free – Avast antivirus for the sake of providing a concrete example.

Step 1: Open up Avast by right-clicking on the Avast icon in the system tray and selecting the “Open Avast user interface” from the list that appears.

Step 2: Once open, click on the “Protection” section among the options running down the left of the Avast window.

Step 3: Click on “Virus Chest” to the right. Any quarantined files show up here.

Step 4: Locate any files associated with Discord, easily identifiable because they start with “Discord_” or a similar variant in most cases.

Step 5: Click on the three dots that appear when hovering over the files and select “Restore and add an exception” from the contextual list.

Step 6: Do this for each of the files.

Step 7: Restart the Discord installation process.

To make sure not to encounter any potential characteristic, issues, or if you’ve yet to install Discord, we need to add the folder containing the Discord setup executable as an exception in Avast. Doing so means the installation method can complete uninterrupted without any files being unexpectedly sentenced to the Avast Virus Chest quarantine.

Step 1: Open up Avast as above.

Step 2: Click on the “Menu” icon among the options in the top right of the Avast window. Then select “Settings” from the drop-down list.

Step 3: Click the “General” section on the left.

Step 4: Under General, select “Exceptions” from the options on the left.

Step 5: Click on “Add Exception” and type in/browse to the location of the folder containing the Discord installer.

Step 6: Click on “Add Exception.”

Step 7: Start the Discord setup executable.

Method #3 Uninstall & Reinstall Discord

With Discord installed, the JavaScript error can off and on happen. In this case, uninstalling and reinstalling the application is the best course of action. As well as spurting Windows 10’s inbuilt uninstall utility, we also need to delete any remaining files to allow for a fresh install.

Step 1: To start, right-click on the Windows Start menu icon. After that, select “Search” from the drop-down menu.

Step 2: In the search field, type “Control Panel”. Then click on the first result of the same name in the result field above.

Step 3: In the Control Panel, click on the highlighted “Uninstall a program” text located just below the “Programs.”

Step 4: Find Discord among the list of programs, click on it, and then click the “Uninstall” button at the top of the list.

Step 5: Once uninstalled, right-click on the Start Menu and select “Run”.

Step 6: Type “%appdata%” and click “Run”.

Step 7: Find the Discord folder and delete it.

Step 8: Open up “Run” once more, search for “%localappdata%”. Delete the Discord folder.

Step 9: Visit the Discord website and download the latest version of the app.

Step 10: Double-click on the downloaded executable file. Follow the steps of the installation wizard.

Step 11: When finished, launch Discord. JavaScript should no longer disrupt the method.

Read Also:

  1. Unexpected Store Exception
  2. What is msdia80.dll and Should You Delete it?
  3. Widevine Content Decryption Module
  4. io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information Error on Minecraft

Conclusion

After reading this article and following our guide, we hope that your issue of Discord JavaScript Error has been successfully solved. Follow the above methods carefully.