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 ตัวเลือกตามภาพด้านล่าง
ฮิต จาก กระบวนการ tab in the Task Manager window, search and select ไม่ลงรอยกัน งาน.
3 จากนั้นคลิกที่ปุ่ม งานสิ้นสุด ตัวเลือกที่แสดงไว้ถูกเน้นไว้
4. เริ่มต้นใหม่ the system to fix the Discord javascript error on startup issue.
ยังอ่าน: แก้ไขการแชร์หน้าจอ Discord เสียงไม่ทำงาน
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. ในหน้าต่าง Properties ให้สลับไปที่ ความเข้ากันได้ แถบ
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 ไม่ลงรอยกัน 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. ที่นี่ คลิกขวาที่ ไม่ลงรอยกัน โฟลเดอร์แล้วคลิก ลบ ตัวเลือกตามภาพด้านล่าง
4. Once again, type % LOCALAPPDATA% และคลิก จุดเปิด ตามที่ปรากฏ.
5 ค้นหา โฟลเดอร์ Discord และคลิกที่ 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.
ฮิต คลิกที่ หยุด option to halt the running service.
ฮิต คลิกที่ เริ่มต้น 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 และพิมพ์ของคุณ รหัสผ่าน เมื่อได้รับแจ้ง
12. ตอนนี้ เปิดตัว ไม่ลงรอยกัน 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 Antivirus และคลิกที่ เมนู ที่มุมขวาบน
ฮิต คลิกที่ การตั้งค่า ตัวเลือกจากเมนูแบบเลื่อนลง
3 เลือก General > Blocked & Allowed apps. จากนั้นคลิกที่ อนุญาตแอป under the รายการแอพที่อนุญาต ดังที่เน้นด้านล่าง
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 ตัวติดตั้งแอพ 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.
วิธีที่ 7: อัปเดตแอป Discord
If you face 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.
ยังอ่าน: วิธีแก้ไข Discord ทำให้ค้าง
วิธีที่ 8: อัปเดตระบบปฏิบัติการ Windows
If you still face a JavaScript error that occurred in the main process, update Windows as follows:
1 กด ของ Windows + ฉัน กุญแจ พร้อมกันเพื่อเปิดไฟล์ การตั้งค่า app
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 เปิด หน้าดาวน์โหลดความขัดแย้ง และคลิกที่ ดาวน์โหลดสำหรับ Windows button as depicted below.
7 นำทางไปยัง ดาวน์โหลดของฉัน และเปิดตัว การตั้งค่าความไม่ลงรอยกัน ไฟล์
8. ปฏิบัติตาม คำแนะนำบนหน้าจอ เพื่อทำการติดตั้งบนพีซีของคุณให้เสร็จสมบูรณ์
ยังอ่าน: 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.