Thanks for the reply!
I put package.json back on the server and reinstalled all the dependences, but am now getting this error
node dist/server/main.mjs
node:internal/errors:491
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:400:5)
at validateString (node:internal/validators:163:11)
at Object.join (node:path:1172:7)
at file:///root/my-rpg-game/node_modules/@rpgjs/server/lib/express/server.js:37:46
at new Promise (<anonymous>)
at expressServer (file:///root/my-rpg-game/node_modules/@rpgjs/server/lib/express/server.js:11:12)
at file:///root/my-rpg-game/dist/server/main.mjs:115:1
at ModuleJob.run (node:internal/modules/esm/module_job:194:25) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v18.13.0