Discord fatal javascript error attempt to install host

Проблемы с дискордом

Прежде всего, у меня есть новый компьютер, и я пробовал, прежде чем спрашивать:

Я пытался закрыть Discord через диспетчер задач, я пытался удалить Discord через панель управления Windows 10, я пробовал режим совместимости с Windows 7 и 8, я пытался удалить файлы приложения Discord В AppData и LocalAppData я попытался запустить приложение от имени администратора, я должен запустить свой компьютер в режиме «без сбоев» (на этот раз приложение было запущено в состоянии «Ошибка обновления», потому что у меня не было Интернета На «безотказном» режиме ». Я также попытался сделать все это с помощью нового приложения для загрузки с сайта Discord.
Каждый раз Discord полностью удаляется, но каждый раз, когда я его запускаю, приложение показывает сообщение об ошибке «A fatal Javascript error occurred» в котором говорится:

(InconsistentInstallerState) : Attempt to install host that is currently running. Current exe path : \?\User\Me\Appdata\Local\Discord\app-1.0.9002\Discord.exe Host_install_path : \?\User\Me\Appdata\Local\Discord\app-1.0.9002\Discord.exe at Updater._handleResponse (C:\User\Me\AppData\Local\Discord\App 1.0.9002\ressource\app.asar\common. 19)

У вас есть идеи, как решить эту проблему?

Пост с редита:
перейдите в «C:\Users\\AppData\Local\Discord»
удалить файл installer.db
внутри папки «app-» будет файл installer.db скопируйте его
вставьте его в папку «. \Local\Discord».
Запустите приложение

Читайте также:  PHP Pagination Example

Есть ещё способ с установкой более ранней версии (в посте 0.0.309) через которую происходит обновление на новую

Источник

[FIXED] Discord Fatal Javascript Error: 7 Possible Methods

Discord is an instant messaging and digital distribution platform that has been specifically designed for creating communities. Discord users can communicate with each other using voice calls, video calls, text messaging, etc. The platform also allows users to play games together and connect with people worldwide with shared interests.

There are various errors that you can face while using the Discord application, and in this article, we will discuss one such error called Discord Fatal Javascript error. Besides talking about the error, we will also discuss various ways to fix this error.

Discord Fatal Javascript Error

Discord fatal javascript error

Discord Error Causes

Discord Fatal Javascript Error message popup

This Discord Fatal Javascript error is a common error faced by the users while using the Discord application. There are various reasons that can be responsible for this error.

Some reasons are listed below:

#1) Damaged Configurations: Configurations are one of the vital reasons for Discord a fatal JavaScript error as damaged configurations does not allow the data packets to sync properly and this results in fatal JavaScript error.

#2) Antivirus might be responsible for this error: Sometimes the antivirus software present in the system marks the files of the Discord folder as infected files and therefore it blocks the users from using the required files. You can remove these files from the antivirus virus chest and can easily fix Discord a fatal JavaScript error.

#3) Corrupt Installation: Corrupt installation results in this error because a corrupt installation does not extract and install all the system files, therefore, you must try to reinstall Discord on the system to fix this error.

Ways To Fix Discord A Fatal Javascript Error

Method 1: Reinstall Discord

One of the major reasons for the fatal JavaScript error Discord is the corrupted installation of the software, so the user must uninstall Discord from the system and then reinstall it again to fix this error.

Method 2: Disable Antivirus

Antivirus runs various checks and processes in the background, which allows it to monitor the system and does not allow any malware or malicious file to infiltrate the system. Sometimes these processes might be responsible for fatal JavaScript error Discord in the system, therefore, you must Disable Antivirus and then try to run Discord again.

Method 3: Remove Discord Appdata

The user must clear Discord Local data and Discord app data from the system and then restart the system to fix Discord a fatal JavaScript error.

Follow the steps below:

#1) Press Windows + R from the keyboard and a dialog box will open. Type “%appdata%” as shown in the image below and click on “OK”.

type “%appdata%”

#2) A folder will open. Click on the “Discord” folder and press the delete button to delete all the files.

delete all the files

#3) Now press Windows + R from the keyboard again and a dialog box will open. Type “%localappdata%” as shown in the image below and click on “OK”.

“%localappdata%

#4) A folder will open. Click on the “Discord” folder and press the delete button to delete all the files.

delete all the files

Method 4: Check Antivirus Blockage And Scan System

Sometimes the antivirus software present in the system marks the update.exe of the Discord folder as the infected file and fatal JavaScript error occurs. Therefore, you must check your antivirus virus chest and remove the Discord file from the virus chest.

You can also add the Discord file to the exception section of the antivirus which prevents its blockage from the antivirus and prevents Discord from a fatal JavaScript error occurred notification.

Method 5: Run Discord As Administrator

By running the application as an Administrator the user can fix a fatal JavaScript error that has occurred discord error. The user must follow the steps listed below to run Discord as an Administrator:

#1) Right-click on the Discord icon and click on “Properties”.

Properties

#2) A dialog box will appear. Click on “Compatibility” and then click on “Run this program as an administrator”. Then click on “Apply” and “OK”.

Compatibility

Now double click on the icon to launch the application, and the error might get fixed. You can also try to remove administrator access and then launch the Discord application again to fix the error.

Method 6: Using Command Prompt

Command Prompt allows users to directly execute a command in the command line and it also allows you to change the system file. Follow the steps discussed below to fix the Discord error using Command Prompt:

#1) Search for Command Prompt in the search bar and right-click on it. Click on “Run as administrator” as shown in the image below.

Run as administrator

#2) Type “gpupdate /force” as shown below. The updating policy process will be visible and then completed.

gpupdate force

After the policy update is completed, you can try to run Discord again to get the error fixed.

Method 7: Change Startup Type of Quality Windows Audio Video Experience Service

By making changes in the services you can easily fix this Discord fatal JavaScript error. Follow the steps mentioned below to fix this error:

#1) Press Windows + R from the keyboard, search for “services.msc” and then click on “OK” as shown in the image below.

services.msc

#2) A window will open as shown below. Search for “Quality Windows Audio Video Experience”. Make a right-click and then click on “Properties”.

Quality Windows Audio Video Experience

#3) A dialog box will open. Click on “Stop”.

click on “Stop”.

#4) Now click on “Start” to resume the services as shown in the image below.

Start to resume

#5) Click on “Startup type” and set it to “Automatic” as shown below.

Startup type”set to “Automatic1

#6) Click on “Log On” and then click on “Browse”.

Log On

#7) A dialog box will open. Add the name of your account in the “Enter the object name to select” text box and then click on “OK”.

Enter the object name to select

#8) Click on “Apply” and then click on “OK”.

Log On

Now restart the system and the error will be fixed.

Frequently Asked Questions

Q #1) Why is my Discord having a fatal Javascript error?

Answer: There can be various reasons responsible for this error and some of them are listed below:

Q #2) How do I fix Discord error Javascript?

Answer: There are numerous ways to fix Discord error Javascript and some of them are listed below:

  1. Reinstall Discord
  2. Run as Administrator
  3. Change Quality Windows Audio Video Experience

Q #3) Why can’t I uninstall Discord?

Answer: Some of the reasons responsible are listed below:

  1. Malware or infected files in the system
  2. Corrupted installation
  3. Invalid system configurations

Q #4) How do I troubleshoot Javascript in Chrome?

Answer: You can troubleshoot Javascript in Chrome by following the steps mentioned below:

  1. Right-click on the webpage and click on Inspect.
  2. A side pane will open. Click on Sources.
  3. Locate the Javascript file. Double click on it to open the file.
  4. Make changes in the files and reload the page.

Q #5) How do I unblock JavaScript in Chrome?

Answer: The user can enable JavaScript in Chrome by following the steps mentioned below:

  1. Open Chrome. Open settings and click on “Privacy and Security”.
  2. Click on “Site Settings”.
  3. Click on JavaScript and toggle the button to enable it in the browser.

Conclusion

In this article, we discussed the renowned meetup and community platform Discord. We also talked about the common error that most of the users face while using the Discord application.

In the later part of the article, we discussed numerous ways to fix Discord’s fatal JavaScript errors.

Источник

Оцените статью