omzi
omzi
RRailway
Created by omzi on 6/20/2023 in #✋|help
NodeJS Deploy Error
Hey Railway staff. Please I have an issue on a project I'm working on. A service on my project has refused to start and I'm not sure what the issue is. My project builds fine (TypeScript) and it is NodeJS-based. The issue is with the starting. The amusing part of it all is that if I rollback to a previous commit, it starts fine. I don't know if Railway's build system was updated or something. I've tried a couple of things (explicitly setting a Node engine & specifying my build and start commands from the project settings) Here's the error I'm getting: npm WARN config production Use --omit=dev instead.
[email protected] start node ./build/app.js
The error keeps getting logged repeatedly from all my service's replicas instead of starting. Please I need urgent assistance to find the solution as a production project depends on it. Thanks ;).
13 replies