Page 1 of 1

Java error when trying to install launcher

Posted: Mon Jan 24, 2022 5:50 am
by Tavvak
Just downloaded the launcher,and can't even run to install. Kepp getting this error continuously-
[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
TypeError: invalid options argument
at optsArg (C:\Users\texas\AppData\Local\Programs\sr-launcher\resources\app.asar\node_modules\mkdirp\lib\opts-arg.js:13:11)
at mkdirp (C:\Users\texas\AppData\Local\Programs\sr-launcher\resources\app.asar\node_modules\mkdirp\index.js:11:10)
at Object.<anonymous> (C:\Users\texas\AppData\Local\Programs\sr-launcher\resources\app.asar\main.js:18:9)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (node:electron/js2c/browser_init:193:3197)
at Object../lib/browser/init.ts (node:electron/js2c/browser_init:193:3401)

[OK]

Any help here please.

Re: Java error when trying to install launcher

Posted: Mon Jan 24, 2022 2:41 pm
by Cozdragon
Hi Tavvak.


Sorry you are having this issue. It's related to some window's updates that have caused some issues, we are working on a better fix long term.

Try the following steps:
Uninstall the new launcher
Install this older launcher: https://github.com/DesporoWace/SR-Launc ... -1.0.4.exe
Then reinstall the new one over the top.

If there is still an issue:

For those of you encountering issues with the file server.

1. Close your launcher.
2. Download this file : https://swgsremu.com/dl/app.asar
3. copy it to C:\Program Files (x86)\Sentinels Republic Launcher\resources
4. Restart your launcher (edited)

If that doesn't work I'd strongly recommend joining our discord and we should be able to get you with someone who can get it working.