I followed the setup instructions but encountered errors when trying to create an account from the client.
The server starts on port 13000, but crashes shortly after, and the client shows a connection timeout.
Steps to Reproduce
- Clone this repository:
git clone https://github.com/lower-elements/final-hour-server-public/
cd final-hour-server-public
- Uncomment the following lines in /libs/consts.ts:
//DISCORD_TOKEN:
//"discord app secret goes here",
- Run the server in development mode:
docker compose -f compose.dev.yml up --build
- The server runs on port 13000.
- Attempt to create a new account via the client.
Observed Behavior
- On the client:
Connection error [timeout]
- On the server console:
final-hour-1 | [nodemon] files triggering change check: database.sqlite3-journal
final-hour-1 | [nodemon] changes after filters (before/after): 1/0
final-hour-1 | [nodemon] files triggering change check: database.sqlite3
final-hour-1 | [nodemon] changes after filters (before/after): 1/0
final-hour-1 | /home/node/node_modules/enet/build/enet.js:9
final-hour-1 | [nodemon] app crashed - waiting for file changes before starting
Expected Behavior
The client should be able to create an account successfully without the server crashing.
Question
Am I missing any configuration steps (e.g., database setup, environment variables, or required migrations) before running the development server?
Thanks
I followed the setup instructions but encountered errors when trying to create an account from the client.
The server starts on port 13000, but crashes shortly after, and the client shows a connection timeout.
Steps to Reproduce
docker compose -f compose.dev.yml up --buildObserved Behavior
Connection error [timeout]Expected Behavior
The client should be able to create an account successfully without the server crashing.
Question
Am I missing any configuration steps (e.g., database setup, environment variables, or required migrations) before running the development server?
Thanks