a year ago
Everytime I deploy I get an email with an error.
The only error I see is this one.
Everything else works as expected.
{ "severity": "error", "timestamp": "2025-04-27T14:57:57.043683395Z", "message": "npm warn config production Use --omit=dev instead.", "tags": { "deploymentId": "ed4c87af-996d-4de8-8101-361a30c09f52", "deploymentInstanceId": "d2d7f06b-f3cb-4bdd-ac62-e618cf758868", "environmentId": "a98debfd-7fb7-4ad1-bdc1-34b91ef99825", "pluginId": null, "projectId": "d1155431-e3a5-4f45-89ac-04320c5ed075", "serviceId": "da8d0b3e-c294-4314-84e5-9f473e36678d", "snapshotId": null }, "attributes": { "level": "error" } }
1 Replies
a year ago
Hello,
This is likely caused by running your application via yarn.
yarn will not pass down the peaceful sigterm signal we send to the container, thus resulting in a crash when we force kill the application.
Instead, update the start command (in the service settings) to use node directly.
Best,
Brody
Status changed to Awaiting User Response Railway • about 1 year ago
a year 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 • 11 months ago