2 months ago
Mijn service staat op Offline en er verschijnen geen logs.
Root Directory staat op:
server. Is dit correct volgens mijn repo-structuur?In
server/package.jsonstaat:
"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?
1 Replies
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 • 3 months ago
2 months 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 • 2 months ago