Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

v6 not starting #27

Open
ghost opened this issue Jul 2, 2016 · 2 comments
Open

v6 not starting #27

ghost opened this issue Jul 2, 2016 · 2 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jul 2, 2016

I am running the master branch version with no problems :-) But i tried the v6 fork and it will not start:

Node v6.2.2

npm install gives the following warnings:

npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

node server gives:

Failed to read config. This is OK on first run.
Current version: 6.0.0
main: INIT stage 0 (preinit): Started
main: INIT stage 0 (preinit): Finished
main: INIT stage 1 (express::construct): Started
main: INIT stage 1: mount route auth on /v2/auth
main: INIT stage 1: mount route download on /v2/download
main: INIT stage 1: mount route files on /v2/files
main: INIT stage 1: mount route firstrun on /v2/firstrun
main: INIT stage 1: mount route server on /v2/server
TypeError: Cannot read property 'close' of undefined
    at process.on.e (/Users/Tristan/Minecraft/MC/server.js:219:22)
    at emitOne (events.js:96:13)
    at process.emit (events.js:188:7)
    at process._fatalException (node.js:258:21)
Failed to close the Minecraft server log stream.
/Users/Tristan/Minecraft/MC/lib/express.js:99
        throw err;
        ^

ReferenceError: server is not defined
    at Object.<anonymous> (/Users/Tristan/Minecraft/MC/backend/routes/server.js:13:47)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at /Users/Tristan/Minecraft/MC/lib/express.js:76:24
    at /Users/Tristan/Minecraft/MC/node_modules/async/dist/async.js:4637:20
@mdcfe
Copy link
Collaborator

mdcfe commented Jul 3, 2016

v6 is unstable and mostly untested. If you're running a production server, use v5.1 in the master branch.

@mdcfe
Copy link
Collaborator

mdcfe commented Jul 3, 2016

(However, we'll look into this, looks like a server wrapper bug)

@mdcfe mdcfe added the bug label Jul 3, 2016
@mdcfe mdcfe added this to the v6 milestone Jul 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant