Discord is the most widely utilized user-friendly application for gaming. It is known for its chat feature and live streaming option as well. Yet, like all applications, it also encounters errors. Several users have reported Discord JavaScript error on startup and Javascript error occurred in the main process during Discord app installation. It could indeed be quite frustrating to face this error on every startup. But don’t stress! Read below to resolve this error 1105 on Discord at the earliest.
How to Fix Discord JavaScript Error on Startup on Windows 10
During our research, we found that the following are the major causes for Discord JavaScript error on startup 和 Javascript error occurred in the main process:
- Disabled Quality Windows Audio Video Service
- Discord app getting corrupt
- Improper Discord Settings
- Running Discord with Administrative Privileges
The methods listed below are arranged from basic to advanced level to fix Discord JavaScript error on Windows 10 desktop/laptop.
必读: Discord Commands List
Method 1: Close All Discord Processes
Too many Discord processes might corrupt system files leading to Discord Javascript error. Hence, exit from Discord as instructed below.
1.右键单击 Windows 图标 来自 任务栏 并点击 Task Manager option as depicted below.
2。 从 流程 tab in the Task Manager window, search and select Discord 任务。
3。 然后点击 结束任务 option shown highlighted.
4. 重新启动 the system to fix the Discord javascript error on startup issue.
另请参阅: Fix Discord Screen Share Audio Not Working
Method 2: Run Discord Without Administrator Rights
Several users have noticed that the app does not face any error when logged in without administrative privileges. So, run Discord without administrative rights as follows:
1.右键单击 Discord 捷径 并点击 查看房源.
请注意: Or navigate to the installation directory and right-click Discord 文件中。
2. In the Properties window, switch to the 兼容性 标签。
3. Now, uncheck the box marked 以管理员身份运行此程序 如下所示。
4.最后,点击 使用 和 OK 以保存所做的更改。
5.现在, relaunch Discord to see if the issue is fixed now.
另请参阅: Which is Better Between Discord vs TeamSpeak?
Method 3: Update Group Policy in Command Prompt
To fix Discord JavaScript error on startup, you can update the group policy by executing a command line in the Command Prompt on Windows 10 as instructed below:
1。 类型 CMD ,在 Windows搜索 酒吧。 点击 以管理员身份运行“ option to run it 有行政权利。
2. 在此输入 运行gpupdate / force command as depicted below and press 输入 键。
3. Once the group policy is updated, launch Discord and resume playing.
另请参阅: How to Quote Someone on Discord
Method 4: Delete Discord AppData
Temporary and corrupt Discord files could cause problems in app settings. Also, improper account settings in Discord lead to Discord JavaScript error on startup. Thus, clear all the Discord AppData to fix this problem on Windows 10.
1。 类型 %APPDATA% ,在 Windows 搜索栏 并点击 可选 如下图所示。
2. 双击 漫游 文件夹将其打开。
3. 在这里,右键单击 Discord 文件夹,然后单击 删除 option as depicted below.
4. Once again, type %localappdata% 并点击 可选 如图所示。
5。 找出 不和谐文件夹 并单击 D删除 option after right-clicking on it.
6。 最后, 重新开始 您的电脑.
Method 5: Change Quality Windows Audio Video Experience Service
When you change the startup type of Quality Windows Audio Video Experience service from Manual to Automatic, you can resolve a JavaScript error that occurred in the main process 问题。
请注意: This method is capable of resolving JavaScript errors of all other applications and programs including Discord.
Here’s how to change the startup type of Quality Windows Audio Video Experience service:
1。 类型 运行 ,在 Windows搜索栏 打开 运行 对话框。
2。 类型 SERVICES.MSC as depicted below and click OK.
3.在 特色服务 窗口,右键单击 Quality Windows Audio Video Experience 服务。
4.然后,单击 查看房源 option as illustrated below.
5。 点击 Stop 停止 option to halt the running service.
6。 点击 Start 开始 button to run the service again.
7。 设置 “启动类型” 至 自动表 using the given drop-down menu.
8。 点击 申请>确定 保存更改。
请注意: You may receive the following error message while changing the startup type: Windows could not start the service on Local Computer. Error 1079: The account specified for this service differs from the account specified for other services running in the same process.
9. In this case, switch to the 登录 选项卡中 Quality Windows Audio Video Experience Properties 窗口,然后单击 浏览… button as highlighted below.
10. Here, type the name of your 用户帐户 ,在 输入对象名称来选择 框并单击 检查名称 按钮。
11. 完成后,单击 OK and type in your 密码 提示时。
12. Now, launch Discord 没有任何错误。
另请参阅: How to Open Steam Console
Method 6: Bypass Discord in Antivirus
Sometimes, you may face Discord JavaScript error on startup in Windows 10 due to restrictions of the installed Antivirus program. It may prevent certain programs from being opened or launched including Discord. You can resolve this by adding Discord as an exception to Antivirus or disabling it temporarily.
请注意: Here, we are using Avast的免费杀毒软件 as an example. The steps may differ based on the Antivirus software installed on your PC.
1。 发射 Avast的反病毒 并点击 菜单 在右上角。
2。 点击 个人设置 下拉菜单中的选项。
3。 选择 General > Blocked & Allowed apps。 然后,点击 允许应用程序 under the 允许的应用程序列表 section, as highlighted below.
4A. Now, click on 地址 对应于该 Discord option to add it to the whitelist.
4B. Alternatively, you may also browse the Discord app by selecting the 选择应用程序路径 选项。
请注意: We have depicted 应用安装程序 being added as an exclusion in the image below. You have to add Discord 同样。
5.最后,点击 地址 in the prompt to add the Discord app to the Avast whitelist.
请注意: You can choose to disable the antivirus or disable Windows Defender Firewall temporarily or uninstall Avast if needed.
方法7:更新Discord应用程序
如果你面对 a Discord JavaScript error on startup, it’s possible that the recent update is incompatible with the application, and a new update has been released to fix the problem. Download and install the latest update of Discord as follows:
1。 按 Windows键 和类型 %LocalAppData% in the search bar as shown below. Click on 可选 如图所示。
2. Find and double-click on the Discord 文件夹将其打开。
3.运行 更新 application by double-clicking on it and 稍等 以便该过程完成。
4。 最后, 重新开张 Discord to see the error fixed.
另请参阅: How to Fix Discord Keeps Freezing
方法8:更新Windows操作系统
If you still face a JavaScript error that occurred in the main process, update Windows as follows:
1。 按 的Windows + I 键 同时打开 个人设置 应用程序。
2.现在,选择 更新与安全 如图所示。
3。 点击 检查更新 在右侧窗格中。
4A. Click on the 立即安装 option. After downloading and installing the updates, 重新启动 your system to see the Discord error is resolved.
4B. If no updates are available, 你是最新的 message will be displayed. In this case, try the next solution.
方法 9:重新安装 Discord
If none of the methods has helped you, then try to reinstall the software if possible. All the settings and configurational setup will be refreshed when you reinstall Discord, and hence there are more chances that you will attain a fix for your problem.
1。 发射 控制面板 by searching for it in Windows搜索栏.
2。 组 View by: Large icons 并点击 “程序和功能” 如图所示。
3。 点击 Discord 并选择 卸载 选项。
4. 出现提示时, Are you sure want to uninstall Discord? 点击 是的。
5. 重新启动您的电脑.
6。 打开 不和谐下载页面 并点击 下载Windows button as depicted below.
7。 导航 我的下载 并启动 DiscordSetup 文件中。
8. 按照 屏幕指示 to complete the installation on your PC.
另请参阅: How to Set Up a Group DM in Discord
方法 10:联系 Discord 支持
If nothing works, then drop an Email to the Discord support team . They will analyze the issue and recommend an optimal fix for the Discord JavaScript error on startup.
推荐:
We hope this article resolved Discord JavaScript error on startup issue on Windows 10 PC. Let us know which method worked for you the best. Also, feel free to reach out to us in the comment section below with your queries or suggestions.