Node.js + Express (I need help to deploy)
Im having trouble when I deploy my node project (venom-bot)
Solution:Jump to 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
32 Replies
Project ID:
N/A
what issues are you running into?
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
please read this docs page - https://docs.railway.app/guides/fixing-common-errors
I'm gonna test this
Same error again...
It didnt work
please show me what you have changed in your code after reading that docs page
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}
);
});looks fine, have you commited the changes to github
Yes...
Do you want to see the full code?
yeah, could you share the repo if possible?
Its using Express
Yep, I can share it, just a sec
GitHub
GitHub - LastHasagi/wms-2
Contribute to LastHasagi/wms-2 development by creating an account on GitHub.
Here it is
looking
okay
i see that your package.json is missing a start script, how are you configuring railway to start this app?
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
this repo is not using a Procfile, how are you configuring railway to start this app?
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
before you do that
please send me your build and deploy logs - https://bookmarklets.up.railway.app/log-downloader/
My discord just crashed, I'm using opera gx, how can I do this?
use chrome
ditch opera gx
ok
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
HOLY SHIT
OK
I'M SORRY
Im gonna delete this!!!! Im so sorry
that's not why it's not working, I just can't provide further assistance
Ok
thank you for understanding
Thanks for your assist and i gonna delete this
Thanks man
S2
I would recommend telegram bots instead, you can host those here without issues
Ok, I'm gonna try with telegram
thanks man