2 months ago
I deployed one project on system. after successful deployment of project its crashing abnromally.
Here is service details which is affecting it.
15 Replies
2 months ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 2 months ago
2 months ago
Starting Container
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
npm warn config production Use --omit=dev instead.
preroute@0.1.0 start
serve -s build -l $PORT
sh: 1: serve: not found
0x5b62656e5d
Can you provide the error logs?
2 months ago
shared errors logs
0x5b62656e5d
I assume `npm i` was ran during the build process?
2 months ago
npm i for installing packages
npm run build for build
npm run start for start server
0x5b62656e5d
When is `npm run build` ran?
2 months ago
During deplyoment after npm install command completed
have shared deployment logs
Attachments
2 months ago
I am having the same problem, my Next.js app is randomly crashing since yesterday! Very strange, has never happened before. Error message -
Attachments
2 months ago
I am usign react + typescript app in deployment
spidertwin2
I am having the same problem, my Next.js app is randomly crashing since yesterday! Very strange, has never happened before. Error message - 
2 months ago
Please create your own thread.
0x5b62656e5d
Make sure the `serve` dependency is listed in your `package.json`.
2 months ago
using to start project
"start": "serve -s build -l $PORT",
2 months ago
its prenent on package.json already but giving errors this is url for it
2 months ago
Does it work locally? (Make sure you didn't install serve globally)