PrismarineJS / PrismarineJS/node-minecraft-wrap
Can't find or load main class
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 10
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 5
Description
I installed the module globally via yarn and executed:
downloadMinecraft 1.13.2 1.13.2.jar client
This worked just fine. Now I tried
runMinecraft ./ 1.13.2 <my username> <my password>
But after that the first time i get something like:
User logged in !
{ AssertionError [ERR_ASSERTION]: wrong size for C:\Users\derPi\Desktop\WrapTest\/assets/objects/d8/d859c9c5be04ffc41479b306814a933983eaa2 35
at fs.stat.then.stats (C:\Users\derPi\AppData\Local\Yarn\Data\global\node_modules\minecraft-wrap\lib\launcher_download.js:182:45)
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: 23232,
expected: 27101,
operator: '==' }
And the second attempt:
User logged in !
Client prepared !
.Error: Could not find or load main class net.minecraft.client.main.Main
.Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I don't know whats wrong here
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the global Yarn installation and the runMinecraft ./ 1.13.2 <username> <password> command, then inspect lib/launcher_download.js around line 182. Compare the reported asset-size failure with the later missing net.minecraft.client.main.Main error. Done means the client preparation completes and the command loads the main class without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100