dustinblackman / Championify

Import recent item sets from popular aggregators like Champion.gg in to League of Legends to use within game! No hassle.
MIT License
891 stars 157 forks source link

A JavaScript Error occurred in the main process. #220

Closed KilogramHours closed 7 years ago

KilogramHours commented 7 years ago

I can't open Championify. Every time I try I get this JavaScript Error. I tried uninstalling it and using the ZIP file on windows to no avail.

http://i.imgur.com/34Gpard.png

I blacked out my name for privacy reasons of course.

dustinblackman commented 7 years ago

@KilogramHours This happens on boot? Not during an import or anything like that? And you're using the zip of the latest version (1.3.8)?

KilogramHours commented 7 years ago

Yep. It happens when I boot Championify and I did download the latest version.

dustinblackman commented 7 years ago

@KilogramHours I just did tested the latest builds again on a fresh windows 10 system and am not seeing the problem. What AV are you running?

sephtin commented 7 years ago

I have no issues on Win10. What version of Java are you using? Have you tried updating or reinstalling Java?

The only other thing that stands out to me are the apostrophe's (') in the path. If you move the directory from downloads to your C drive, do you still get the error? (I keep mine in a folder called C:\Apps).

dustinblackman commented 7 years ago

Java? O.o There's no Java here. The application is in Javascript and is completely self contained, it doesn't require dependencies.

sephtin commented 7 years ago

My bad. Over thinking... I was thinking of conflicts or version issues, not the case then!

InfamousKing13 commented 7 years ago

im having the same issues as him https://gyazo.com/59497d3650bc9e31dbcfab3c31201c17

InfamousKing13 commented 7 years ago

ive reinstalled everything also deleted and reinstalled nothing fixes it and ive reinstalled java as well

KilogramHours commented 7 years ago

Yeah I've uninstalled League of Legends and JavaScript and it still doesn't work. So I don't know what to do. But I was wondering if there was a way to delete the outdated Item Sets from my client? Because I can't seem to remove them since they are tied to my account.

Nefari0uss commented 7 years ago

@dustinblackman - This stack over flow link seems to say that the error indicates a path doesn't exist.

@InfamousKing13 @KilogramHours Have you tried running the application as an administrator? Don't quite think it'll fix anything but I figure it can't hurt to rule it out.

dustinblackman commented 7 years ago

I already have it patched, it'll be fixed in the next version. Item sets can be deleted from C:\League of Legends\Config\Champions if I remember right

Nefari0uss commented 7 years ago

Oh cool. What was the fix?

dustinblackman commented 7 years ago

@Nefari0uss I added a external dependancy to elevate Championify when needed. See the change log. https://github.com/dustinblackman/Championify/blob/master/CHANGELOG.md#200-december-21st-2016