eezstreet / d2rlint

Checking your Diablo II: Resurrected mod files for errors since 2022
11 stars 2 forks source link

[BUG] 1.3.1 Crashes on startup #8

Open jesuscc1993 opened 1 year ago

jesuscc1993 commented 1 year ago

Description

App crashes on startup; showing no error and generating not JSON. Running the EXE from the terminal does log error: Module not found.

Additional info

1.3.0 works just fine; logging the startup message and generating the JSON.

OS

Windows 10 Pro 22H2

magnuha commented 1 year ago

Just commenting this and noting that I have the same issue. The app will not launch or start.

To jesuscc1993: when you run run exes from command prompt you have to add "start XXX.exe" to the executable, otherwise it will not launch and throw the error "module not found". Running the 1.3.1 version by typing "start d2rlint_v1.3.1.exe" will replicate the same lack of launching as launching it normally.

CollinHerber commented 4 months ago

I can also confirm 1.3.1 does not work. I tried pulling down the code and compiling with deno but there are several issues with that as well. Additionally looks like deno made changes to where jsonc lives and this is one of the issues, this was an easy solve but typescript version changes is also causing a bunch of issues. Trying to remediate the remaining atm

CollinHerber commented 4 months ago

A forked version of this can be found here: https://github.com/D2R-Reimagined/d2rlint This got it running for me at least.

I have an example of this working in my mod: https://github.com/D2R-Reimagined/d2r-reimagined-mod/tree/next The exe and config can be downloaded from there as well