Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch a server with modpacks #780

Open
1 task done
Cleverking2003 opened this issue Oct 1, 2024 · 1 comment
Open
1 task done

Can't launch a server with modpacks #780

Cleverking2003 opened this issue Oct 1, 2024 · 1 comment
Labels

Comments

@Cleverking2003
Copy link

Cleverking2003 commented Oct 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Launcher Version

0.46.1

Operating System

Windows

Architecture

x64

Current Behavior

When trying to start a server with a modpack, the launcher shows an error about a missing file (may differ between modpacks)

Antimatter Chemistry (and pretty much any 1.12.2+ pack I tested):
{ "errno": -4058, "code": "ENOENT", "syscall": "open", "path": "D:\\.xmcl\\versions\\1.12.2-forge-14.23.5.2860\\server.json", "payload": [ "1.12.2-forge-14.23.5.2860", "server" ], "message": "ENOENT: no such file or directory, open 'D:\\.xmcl\\versions\\1.12.2-forge-14.23.5.2860\\server.json'", "stack": "Error: ENOENT: no such file or directory, open 'D:\\.xmcl\\versions\\1.12.2-forge-14.23.5.2860\\server.json'", "name": "Error", "serviceName": "InstallService", "serviceMethod": "installDependencies" }

GT: New Horizons:

[ { "exception": { "type": "httpException", "code": "UND_ERR_RESPONSE_STATUS_CODE", "method": "", "url": "http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-1.7.10-installer.jar", "statusCode": 404, "body": "" }, "name": "HTTPException", "message": "", "stack": "HTTPException: \n at serializeUndiciError (/947/index.js:166:40141)\n at serializeError (/947/index.js:166:40472)\n at Array.map (<anonymous>)\n at serializeError (/947/index.js:166:39930)\n at handleServiceCall (/947/index.js:243:26506)\n at WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)" }, { "exception": { "type": "httpException", "code": "UND_ERR_RESPONSE_STATUS_CODE", "method": "", "url": "https://bmclapi2.bangbang93.com/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-1.7.10-installer.jar", "statusCode": 403, "body": "" }, "name": "HTTPException", "message": "", "stack": "HTTPException: \n at serializeUndiciError (/947/index.js:166:40141)\n at serializeError (/947/index.js:166:40472)\n at Array.map (<anonymous>)\n at serializeError (/947/index.js:166:39930)\n at handleServiceCall (/947/index.js:243:26506)\n at WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)" }, { "exception": { "type": "httpException", "code": "UND_ERR_RESPONSE_STATUS_CODE", "method": "", "url": "https://repo1.maven.org/maven2/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-1.7.10-installer.jar", "statusCode": 404, "body": "" }, "name": "HTTPException", "message": "", "stack": "HTTPException: \n at serializeUndiciError (/947/index.js:166:40141)\n at serializeError (/947/index.js:166:40472)\n at Array.map (<anonymous>)\n at serializeError (/947/index.js:166:39930)\n at handleServiceCall (/947/index.js:243:26506)\n at WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)" } ]

(http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-1.7.10-installer.jar looks kinda sus bc the version number is duplicated. The correct URL is http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-installer.jar)

Expected Behavior

The launcher starts a server with a modpack.

Steps To Reproduce

  1. Install one of the modpacks mentioned above.
  2. Press "Launch localhost server"
  3. Get an error

Anything else?

No response

@ShadowAndNitrix
Copy link

Ok, What Modpacks You Using?
Also I Think Local Hosting Might Cause That Issue, I Wouldn't Know I'm Still Using Version 0.35.17 XD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants