2022 年 11 月 25 日

修复 Windows 10 上的 Discord 安装错误

Discord won’t install on PC is a common occurrence among users. Luckily, in most cases, you can get rid of this error by merely clearing cache files or restarting the device. But for others, opting for extreme measures like installing .NET Framework, disabling antivirus, etc is required to solve Discord installation error. If you are also facing discord failed to extract installer then you have come to the right place. Here we will teach you about methods on resolving discord won’t install on pc but before that, we will learn about the reasons for this issue. So, continue reading to solve a fatal Javascript error occurred when installing Windows client problem.

修复 Windows 10 上的 Discord 安装错误

How to Fix Discord Installation Error on Windows 10

If you are also facing symptoms like your system cannot install Discord, here are the possible causes:

  • Lack of admin privileges can create issues in installing Discord on your system.
  • Not getting rid of corrupt files or abundant local data makes it difficult to re-install an app.
  • Antivirus software can also create disturbance in installing any app on the Windows device.
  • Absence of Microsoft .NET Framework is also fairly responsible for this installation error.

Following are the ways to solve Discord installation error.

Method 1: Run Discord as Administrator

For the uninformed, running apps as administrator in Windows unlocks extra privileges for the user. For instance, they can make changes in registry or access restricted folders. So, if Discord installation failed on your device, running it as admin may fix the issue.

1。 按 Windows键 和类型 不和谐.exe,然后点击 以管理员身份运行“.

open Discord app as administrator. Fix a fatal Javascript error occurred when installing Windows client

2。 选择 在UAC提示上。

Method 2: Install Discord in Safe Mode

Apart from the antivirus installed on your device, other third-party apps running in the background can also cause this error. To avoid this, you can try installing Discord in safe mode with just these simple steps:

1. Click on Windows icon and search 系统配置 在搜索栏中。

Open System Configuration. Fix Discord Installation Error on Windows 10

2。 去 开机 选项卡并选择 安全启动 under boot options and press OK.

Go to Boot tab and Select Safe boot. Fix a fatal Javascript error occurred when installing Windows client

3.现在,选择 重新启动 进入安全模式。

Once you’re in the Safe Mode, clear existing Discord app data using Method Delete remaining discord files as explained above and install the Discord app one more time.

另请参阅: 修复 Windows 10 中的 Discord 未知网络错误

方法 3:更新 Windows

If Discord installation has failed Windows 10, you can try this method. App install errors generally occur when there are compatibility issues with the device. In such case, you can read our in-depth guide on How to Download and Install Windows 10 Latest Update.

Update Windows. Fix Discord Installation Error

If you are installing Discord for the first time on your device, this method is ideal. What you need to do is manually move a file to the Discord installation folder which can potentially help with the Discord installation error.

请注意: You need an archive extraction app like WinRAR installed on your device to perform this method.

1。 首先下载 WinRAR的 并按照屏幕上的说明进行安装。

2.右键单击 Discord icon and use 7zip to extract 不和谐设置.

3. 现在,右键单击 可执行文件 并提取它。

extract discord files

4. It will have a file called Discord-0.0.309-full.nupkg 在里面。

5. 现在,打开 档案总管 按下 Windows + E 键 在一起。

6. Go to the following location .

%LocalAppData%SquirrelTemp

7. Now paste the Discord-0.0.309-full.nupkg 并将其提取.

8. 现在导航到 Discord-0.0.309-fulllibnet45.

9. Finally run the Discord.exe file 安装应用程序。

This method comes handy for many users when Discord failed to extract installer.

Method 5: Install .NET Framework

Microsoft .NET Framework is used by developers at large to build desktop apps, websites, apps, services, and more. But if it is missing from your Windows laptop or PC then you might encounter an installation failed error. To install it you can read our guide on how to install Microsoft. NET Framework 3.5. Once you are done with the process, try installing Discord again.

install .NET Framework version 3.5

方法 6:暂时禁用防病毒软件(如果适用)

Many Windows 10 users reported that they were using McAfee on their systems and disabling it solved the Discord installation issue. If you were also using antivirus to protect your system from potentially dangerous files, you can follow our guide on How to Disable Antivirus Temporarily on Windows 10.

Click Advanced and use the switch toggle to turn off BitDefender Shield. Fix a fatal Javascript error occurred when installing Windows client

另请参阅: 修复 Discord Krisp 不起作用的 9 种解决方案

方法 7:更新设备驱动程序

Driver updates are essential for Windows users as they can help eliminate security tweaks, bugs, and boost overall performance. You can follow the steps mentioned in our How to Update Device Drivers on Windows 10 guide to resolve the Discord installation error

更新图形驱动程序

Method 8: Uninstall Windows Update

If you have recently updated your Widows and then the discord installation has failed Windows 10 started to appear. Then, you can uninstall Windows Update to resolve the error. To uninstall the Windows update follow the steps mentioned below:

1。 发射 个人设置 的Windows + I 捷径。

2。 点击 更新和安全性。

Open Update and Security settings. Fix Discord Installation Error on Windows 10

3。 现在去 查看更新历史记录。

Scroll down and click on View update history

4。 点击 卸载更新 from where you can select a particular Windows version and uninstall it.

Click on the Uninstall updates option

另请参阅: 修复 Discord 未检测到战网问题

Method 9: Delete Remaining Discord Files

This method is useful for users who installed and uninstalled Discord on their devices in the past. It is possible that there might be some unnecessary residual files which can cause issues in installing Discord. This will also help in closing any non-responding program and when a fatal Javascript error occurred when installing windows client.

1。 发射 Task Manager 通过点击 Ctrl + Shift + Esc 键 同时进行。

2。 右键单击 Discord 过程流程 选项​​卡,并选择 结束任务。

Right click on Discord process and select End Task. Fix a fatal Javascript error occurred when installing Windows client

3. 现在,打开 档案总管 按下 Windows + E 键 together, paste %AppData%/ path in the address bar, and then delete the Discord 文件夹中。

Right click on discord folder and select delete. Fix Discord Installation Error

Once the process completes, try installing Discord again and check if the issue has been resolved.

方法 10:重新安装 Discord

Windows users are recommended to uninstall a program from Control Panel if it was already installed in the system earlier. If this step is not followed, your device is likely to throw an error which can also lead to other issues. Although some apps allow users to download multiple versions, this step makes things hassle-free.

1。 发射 控制面板 by typing in the Windows search bar.

Launch Control Panel by typing in the Windows search bar. Fix a fatal Javascript error occurred when installing Windows client

2.然后,点击 程式。

click on Programs. Fix Discord Installation Error

3。 接下来,单击 程序和特点。

click on Programs and Features. Fix a fatal Javascript error occurred when installing Windows client

4。 找 Discord in the list of programs and choose 卸载。

Find Discord in the list of programs and choose Uninstall. Fix Discord Installation Error on Windows 10

Finish the process by 重新启动 您的 Windows 10 笔记本电脑。

5. 然后,打开 Discord网站 并点击 下载Windows.

Click on Download for Windows. Fix a fatal Javascript error occurred when installing Windows client

6. Now, when the file is downloaded, click on the Discord安装程序 file to install it on your system.

Click on DiscordSetup.exe

最后,启动 Discord to check if Discord installation has failed Windows 10 error is solved or not.

另请参阅: 修复卡在连接屏幕上的 Discord

方法 11:联系 Discord 支持

Lastly, you can try to contact the 不和谐的支持 team to solve a fatal Javascript error occurred when installing Windows client issue.

discord support webpage. Fix a fatal Javascript error occurred when installing Windows client

常见问题解答(FAQ)

Q1. How do I fix Discord installation failed?

答。 To fix this issue, you can try the above-mentioned methods and find out what suits best to you.

Q2. Why can’t I install Discord on Windows 10?

. Maybe the problem lies within your device so try clearing cache files and corrupt data.

Q3. Why is Discord broken on my PC?

答。 It is possible that apps or games are running in the background and thus, causing Discord to not install properly. Another reason could be damaged files and viruses.

推荐:

Discord is one of the most loved platforms being used by people of all ages to chat, share, and engage with the community. However, the app may cause headache once in a while for some users. Luckily, you now know how to get rid of Discord installation error and get things back on track. If you have any queries or suggestions then feel free to drop them in the comment section below.