R
Railway5mo ago
Z3R0

Node.js + Express (I need help to deploy)

Im having trouble when I deploy my node project (venom-bot)
Solution:
oh I'm sorry but I had just noticed that this is a WhatsApp bot, WhatsApps bots are not allowed on this platform, I won't be able to provide further assistance and I would recommend you find somewhere else to host this as other users have been banned for running WhatsApp bots
Jump to solution
32 Replies
Percy
Percy5mo ago
Project ID: N/A
Brody
Brody5mo ago
what issues are you running into?
Z3R0
Z3R05mo ago
When I deploy the project, I need to acess de route /, but I cant 'Application failed to respond' But its running at the terminal If you guys need to see the code, I can send here
Brody
Brody5mo ago
Z3R0
Z3R05mo ago
I'm gonna test this Same error again... It didnt work
Brody
Brody5mo ago
please show me what you have changed in your code after reading that docs page
Z3R0
Z3R05mo ago
ok const port = process.env.PORT || 3000; app.listen(port, '0.0.0.0', () => { console.log(Server is running on http://0.0.0.0:${port}); });
Brody
Brody5mo ago
looks fine, have you commited the changes to github
Z3R0
Z3R05mo ago
Yes... Do you want to see the full code?
Brody
Brody5mo ago
yeah, could you share the repo if possible?
Z3R0
Z3R05mo ago
Its using Express Yep, I can share it, just a sec
Z3R0
Z3R05mo ago
GitHub
GitHub - LastHasagi/wms-2
Contribute to LastHasagi/wms-2 development by creating an account on GitHub.
Z3R0
Z3R05mo ago
Here it is
Brody
Brody5mo ago
looking
Z3R0
Z3R05mo ago
okay
Brody
Brody5mo ago
i see that your package.json is missing a start script, how are you configuring railway to start this app?
Z3R0
Z3R05mo ago
I just pushed this to railway website... I just saw a video on youtube and did the same, I normaly use Procfile in python projects
Brody
Brody5mo ago
this repo is not using a Procfile, how are you configuring railway to start this app?
Z3R0
Z3R05mo ago
I didn't configure it, I just put the repository on github, went to railway and deployed I'm gonna change the package.json and see if it works thankssss
Brody
Brody5mo ago
before you do that please send me your build and deploy logs - https://bookmarklets.up.railway.app/log-downloader/
Z3R0
Z3R05mo ago
My discord just crashed, I'm using opera gx, how can I do this?
Brody
Brody5mo ago
use chrome ditch opera gx
Z3R0
Z3R05mo ago
ok
Solution
Brody
Brody5mo ago
oh I'm sorry but I had just noticed that this is a WhatsApp bot, WhatsApps bots are not allowed on this platform, I won't be able to provide further assistance and I would recommend you find somewhere else to host this as other users have been banned for running WhatsApp bots
Z3R0
Z3R05mo ago
HOLY SHIT OK I'M SORRY Im gonna delete this!!!! Im so sorry
Brody
Brody5mo ago
that's not why it's not working, I just can't provide further assistance
Z3R0
Z3R05mo ago
Ok
Brody
Brody5mo ago
thank you for understanding
Z3R0
Z3R05mo ago
Thanks for your assist and i gonna delete this Thanks man S2
Brody
Brody5mo ago
I would recommend telegram bots instead, you can host those here without issues
Z3R0
Z3R05mo ago
Ok, I'm gonna try with telegram thanks man
Want results from more Discord servers?
Add your server