How to fix a JavaScript error in Discord

Configurare noua (How To)

Situatie

Running into a JavaScript error on Discord makes you unable to use the app. Luckily, you have a few ways to fix the problem and get the app running as smoothly as possible.

Solutie

Pasi de urmat
Run Discord as an Admin

One reason you get the above error is that Discord doesn’t have full permission to function. You can fix that by running the app with administrator rights on your Windows PC.

  1. Find Discord on your desktop or in the Start Menu.
  2. Right-click the app, and from the open menu, select “Run as Administrator.”
  3. In the User Account Control prompt, select “Yes.”

If this method fixes the issue, make Windows always launch Discord as an admin.

  1. Do that by first right-clicking Discord’s desktop shortcut and choosing “Properties.”
  2. Open the “Shortcut” tab and choose “Advanced.”
  3. Enable the “Run as Administrator” option and select “OK.”
  4. Select “Apply,” choose “Continue” in the prompt, and select “OK.”

From now on, whenever you launch Discord using your desktop shortcut, it’ll run with admin rights.

Delete Discord’s AppData Files
  1. Open the Run dialog box by pressing Windows+R. Type the following in the box and press Enter:
    • %appdata%
  2. Open the “Discord” folder and select all files by pressing Ctrl+A. Right-click a selected file and choose “Delete”.
  3. Open Run again (by pressing Windows+R), type the following path, and press Enter:
    • %localappdata%
  4. Open the “Discord” folder, select all files using Ctrl+A, right-click a file, and choose “Delete”.

Launch the Discord site, download the installer, and run the installer to reinstall fresh copies of the required files on your PC.

Turn Off Your Antivirus Program

If you’re using Microsoft Defender Antivirus:

  1. Turn it off by first opening the Windows Security app.
  2. Click “Virus & Threat Protection” and choose “Manage Settings” in the “Virus & Threat Protection Settings” section.
  3. Then, turn off “Real-Time Protection” and choose “Yes” in the prompt.

Tip solutie

Permanent

Voteaza

(4 din 8 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?