says “Download the latest release and extract it to its own folder”
but i found no releases
so i cloned the repo: git clone https://github.com/RenderBr/Dimensions.git
i installed nodejs, npm, typescript on my debian linux vps:
seems the older version/fork (GitHub - RenderBr/Dimensions: The load-balancing and routing service for Terraria Servers) was successfully build. indeed i had forgotten running the npm install… command first
but now i need a complete sample of config.js because i couldn’t find any sample files like config.js.quickstart or config.js.example in those repos even after build
i created a config.js file myself:
[root@vps_outside(2) ~/Dimensions/Dimensions]# npm run start
> @popstarfreas/[email protected] start
> cd ./build && node ./index.js
/root/Dimensions/Dimensions/config.js:23
SyntaxError: Unexpected end of input
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/Dimensions/Dimensions/build/node_modules/dimensions/configloader.js:4:26)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
Node.js v18.19.0