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 選項如下圖所示。
2。 從 流程 tab in the Task Manager window, search and select 不和 任務。
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.右鍵單擊 不和 捷徑 並點擊 氟化鈉性能.
注意: Or navigate to the installation directory and right-click 不和 文件。
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 with administrative rights.
2. 在這裡,輸入 運行gpupdate / force command as depicted below and press Enter 鍵。
3. Once the group policy is updated, launch 不和 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. Here, right-click on the 不和 文件夾,然後單擊 刪除 選項如下圖所示。
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。 在裡面 服務 窗口,右鍵單擊 優質的 Windows 音頻視頻體驗 服務。
4.然後,單擊 氟化鈉性能 option as illustrated below.
5。 點擊 停止 option to halt the running service.
6。 點擊 開始 button to run the service again.
7。 設置 “啟動類型” 至 Automatic 自動錶 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 不和 without any errors.
相關閱讀: 如何開啟 Steam 控制台
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。 然後,點擊 ALLOW APP under the List of allowed apps section, as highlighted below.
4A. Now, click on 添加 對應於 不和 option to add it to the whitelist.
4B. Alternatively, you may also browse the Discord app by selecting the 選擇應用程序路徑 選項。
注意: We have depicted App安裝程序 being added as an exclusion in the image below. You have to add 不和 同樣。
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.
Method 7: Update Discord App
如果你面對 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 不和 文件夾來打開它。
3。 跑過 更新消息 application by double-clicking on it and 等待 以便該過程完成。
4.最後, 重新啟動 不和 to see the error fixed.
相關閱讀: 如何解決不和諧一直凍結的問題
方法8:更新Windows作業系統
如果你還面臨著 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。 點擊 不和 並選擇 卸載 選項。
4. 出現提示時, Are you sure want to uninstall Discord? 點擊 是的。
5. 重新啟動您的電腦.
6。 打開 Discord download page 並點擊 下載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 不和諧支援團隊 . 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.