Hi, i had the same issues and tried simmilar solutions as you did. Mine error said that i had an Uncaught Exception, in a main.js file. I just followed the path listed to this file and ended on the file called app.asar. I deleted this, while riot client was fully closed and tried launching the game. This worked :)
How to fix A JavaScript error occurred in the main process?
Hello, Microsoft!
As usual, I ran Valorant, the game of the popular and safe software company called Riot Games. But unexpectedly I got this error. Most people who solved the problem said that this was caused by the application called Discord and that the problem would be solved by uninstalling the application.
Then, as a Discord application user, I uninstalled the application. Since this did not work, I reinstalled "Visual C++ Redistributable Version", but this did not work either. Finally, I thought the problem was related to Java and uninstalled the Java update application. The reason I am writing to you is that I cannot solve this problem with the methods I used and I do not want to consult you. Unlike everyone else, there is an extra warning "SyntaxError: Invaild or unexpected token" in the warning I received.
I hope you can help me that topic
Windows for home | Windows 10 | Gaming
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
11 answers
Sort by: Most helpful
-
Anonymous
2024-08-27T20:22:20+00:00 -
Anonymous
2024-08-28T05:54:24+00:00 Hi I'm afraid I'm doing something stupid by uninstalling the wrong file, can you show me which file it is with a screenshot if you can
-
Anonymous
2024-12-14T21:35:06+00:00 Such a quick fix, ty
-
Anonymous
2024-11-19T06:33:55+00:00 MAN YOUR A LIFE SAVER THANKS A LOT MAN \
-
Anonymous
2024-09-15T09:19:31+00:00 Thank you lots, same worked for me.
I just deleted it as well and it was working after :D