Register an Account Image - Join our Discord Server Image

Have any questions? Need help with something? Contact us on Discord or check out our Help Forums.

Announcement: We have updated our multiple accounts policy. Please read here and submit the required information if your household plays on more than one account.

Donations are always welcome and help us with the upkeep of the server. Click click here to donate.

we have now added donorbox for those of you who cant use PayPal too. Thank you!


Help us stay #1 and vote for us Here and Come Join Us on Twitter

Java error when trying to install launcher

Post Reply
Tavvak
Midshipman
Posts: 1
Joined: Mon Jan 24, 2022 5:45 am

Java error when trying to install launcher

#1

Post by Tavvak » Mon Jan 24, 2022 5:50 am

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.

User avatar
Cozdragon
CC Admin
Posts: 995
Joined: Mon Jul 02, 2018 8:31 pm
Egypt

Re: Java error when trying to install launcher

#2

Post by Cozdragon » Mon Jan 24, 2022 2:41 pm

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.

Post Reply