Skip to content

WebMC crash on start #2

Description

@x-0D

When i try to create new user and (after ELUA accept) server download screen appears, it crashes

(node:9128) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
    at C:\webmc-0.1.3\app\setup.js:113:93
    at ChildProcess.exithandler (child_process.js:310:7)
    at ChildProcess.emit (events.js:375:28)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9128) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9128) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
events.js:352
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\webmc-0.1.3\mc\bedrock-server\bedrock_server.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn C:\\webmc-0.1.3\\mc\\bedrock-server\\bedrock_server.exe',
  path: 'C:\\webmc-0.1.3\\mc\\bedrock-server\\bedrock_server.exe',
  spawnargs: []
}

[процесс завершил работу с кодом 1 (0x00000001)]```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions