R
Railway4w ago
vncs

npm run all

Hi, I've being developing a new feature for my own website, a email queue using bull, but when I try to run the ./src/queue.js and the ./src/index with npm-run-all the railway just doesn't run the queue, only the index event-loop-stats not found, ignoring event loop metrics... RUNNING ON PORT 3000 POST /v1/users 201 321.486 ms - 14
No description
No description
No description
Solution:
your build command should never be a start command, please remove that. if you have two processes that you need to run, that would need to be done with two railway services, one service for the web server and one for the queue system...
Jump to solution
4 Replies
Percy
Percy4w ago
Project ID: N/A
vncs
vncs4w ago
n/a
Solution
Brody
Brody4w ago
your build command should never be a start command, please remove that. if you have two processes that you need to run, that would need to be done with two railway services, one service for the web server and one for the queue system
vncs
vncs4w ago
ok, thanks, I had no idea about this build command that shouldn't be the start