PrismarineJS / PrismarineJS/node-minecraft-wrap
Internal issue
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 10
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 5
Description
I keep on getting this error:
events.js:291
throw er; // Unhandled 'error' event
^
Error: spawn java ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:464:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
at onErrorNT (internal/child_process.js:464:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn java',
path: 'java',
spawnargs: [
'-jar',
'-Xms1024M',
'-Xmx1024M',
'./minecraft/Server.jar',
'nogui'
]
}
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
Start by reproducing the reported spawn java ENOENT error in node-minecraft-wrap and inspect the launch path shown by the stack trace. Verify whether the Java executable and the ./minecraft/Server.jar arguments are available in the expected environment; done means the wrapper starts the server without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100