Closed MiniDuncan closed 3 years ago
The error implies, that your speedrun.json is not written correctly.
Either google how the json format works or paste your speedrun.json below and I'll spot your small error! :) or validate your json here
{ "MIN_RAM": 8, "MAX_RAM": 10, "OP": ["MiniDuncan"], "WHITELIST": ["MiniDuncan"], "DATA_PACK": false, "SEEDS": [] "AUTO_SAVE": false, "KEEP_WORLDS": true, "LOAD_WORLD": "world" }
Missing ,
after "SEEDS": []
.
Correct:
{
"MIN_RAM": 8,
"MAX_RAM": 10,
"OP": ["MiniDuncan"],
"WHITELIST": ["MiniDuncan"],
"DATA_PACK": false,
"SEEDS": [],
"AUTO_SAVE": false,
"KEEP_WORLDS": true,
"LOAD_WORLD": "world"
}
when i run start.bat, it comes up with: C:\Users\archi\Downloads\Co-Op Speedrun>node server.js Parsing speedrun.json ... SyntaxError: Unexpected string in JSON at position 121 at JSON.parse ()
at C:\Users\archi\Downloads\Co-Op Speedrun\server.js:1:68523
at Generator.next ()
at s (C:\Users\archi\Downloads\Co-Op Speedrun\server.js:1:67108)
What can i do to fix it?