klopt niet
egbertson-arch
FREEOP

2 months ago

  1. Mijn service staat op Offline en er verschijnen geen logs.

  2. Root Directory staat op: server. Is dit correct volgens mijn repo-structuur?

  3. In server/package.json staat:

"scripts": {
  "start": "node index.js"
}

Klopt dit startscript voor Railway?
4. In mijn backend gebruik ik:

const PORT = process.env.PORT || 3000;
app.listen(PORT);

Is dit correct voor Railway?
5. Ik gebruik MongoDB met environment variable MONGO_URI. Is er iets dat ik moet aanpassen?
6. Kunt u controleren waarom mijn service niet start en geen logs laat zien?

Solved

1 Replies

echohack
EMPLOYEE

2 months ago

Hello,

Looks like you've put a giant json in your root directory, and your main branch doesn't exist.

If you fix these, you should be able to deploy.

Attachments


Status changed to Awaiting User Response Railway about 2 months ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 1 month ago


Loading...