R
Railway6mo 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
Percy6mo ago
Project ID: N/A
Brody
Brody6mo ago
what issues are you running into?
Z3R0
Z3R0OP6mo 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
Brody6mo ago
Z3R0
Z3R0OP6mo ago
I'm gonna test this Same error again... It didnt work
Brody
Brody6mo ago
please show me what you have changed in your code after reading that docs page
Z3R0
Z3R0OP6mo 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
Brody6mo ago
looks fine, have you commited the changes to github
Z3R0
Z3R0OP6mo ago
Yes... Do you want to see the full code?
Brody
Brody6mo ago
yeah, could you share the repo if possible?
Z3R0
Z3R0OP6mo ago
Its using Express Yep, I can share it, just a sec
Z3R0
Z3R0OP6mo ago
GitHub
GitHub - LastHasagi/wms-2
Contribute to LastHasagi/wms-2 development by creating an account on GitHub.
Z3R0
Z3R0OP6mo ago
Here it is
Brody
Brody6mo ago
looking
Z3R0
Z3R0OP6mo ago
okay
Brody
Brody6mo ago
i see that your package.json is missing a start script, how are you configuring railway to start this app?
Z3R0
Z3R0OP6mo 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
Brody6mo ago
this repo is not using a Procfile, how are you configuring railway to start this app?
Z3R0
Z3R0OP6mo 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
Brody6mo ago
before you do that please send me your build and deploy logs - https://bookmarklets.up.railway.app/log-downloader/
Z3R0
Z3R0OP6mo ago
My discord just crashed, I'm using opera gx, how can I do this?
Brody
Brody6mo ago
use chrome ditch opera gx
Z3R0
Z3R0OP6mo ago
ok
Solution
Brody
Brody6mo 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
Z3R0OP6mo ago
HOLY SHIT OK I'M SORRY Im gonna delete this!!!! Im so sorry
Brody
Brody6mo ago
that's not why it's not working, I just can't provide further assistance
Z3R0
Z3R0OP6mo ago
Ok
Brody
Brody6mo ago
thank you for understanding
Z3R0
Z3R0OP6mo ago
Thanks for your assist and i gonna delete this Thanks man S2
Brody
Brody6mo ago
I would recommend telegram bots instead, you can host those here without issues
Z3R0
Z3R0OP6mo ago
Ok, I'm gonna try with telegram thanks man
Want results from more Discord servers?
Add your server