error show
Please help me why this error show I have node JS project I want to deploy with railway but vs code on error show
71 Replies
Project ID:
N/A
have you installed the cli? https://docs.railway.app/guides/cli#installing-the-cli
Bro I have node JS project
Bro help me
please follow the docs i linked
Error show again
have you installed the railway cli
Now this error show after installation
?
can you try using cmd instead of powershell?
Sir why not complete deploy server error
Sir?
please read this docs page https://docs.railway.app/guides/fixing-common-errors
and please dont use nodemon when on railway as it could double your memory usage
Sir it's not solve please you tell me what I changed then app not crashed ?
Bro
where you able to read the docs page?
I read but no understand
My 1st project on railway because I understand just PHP html CSS this is node JS project
please give that docs page another look
it already has everything i would tell you
No work
I am try too many time
what have you tried?
can you link your github repo
i'll take a peek
Yes dear I link it with github
like send it in here
so i can look at it
please
I send you my GitHub login Gmail or password?
<a:AA_Illya_What:609295471416180736>
no
is the repository public?
Yes
send me the link to it
Ok wait
GitHub
GitHub - mudassir434/69lottary
Contribute to mudassir434/69lottary development by creating an account on GitHub.
Please see
where did you get this code from?
Repo
im sorry i have to go bed
Ok
Can this is not repo correct?
You just tell me why app crashed what problem?
???
Anyone here?
????
I think it's more of a code problem, not a railway problem.
Bro code is correct I see already but now I don't know why it's no work
Can you run it locally?
Send a screenshot it's hard to read from a camera clicked photo.
Based on the error you don't have a database setup and connected to your node service
This database
need Screenshot
What type?
So I send you
A screenshot. He is having trouble reading the photos you are sending
Where is this database hosted?
Piprahost
??
Hli
Screenshot of your program running on local and deploy logs on railway
.
This is deploy log
please stop using nodemon when on railway, it can nearly double your memory usage
and from the screenshot I think the issue you are facing is pretty clear
Where to finish nodeman please just tell me morning to just 1 issue solve but it not solve
the error states that you have not whitelisted all IPS for access to your database, please do that in your database host
I give the host is my cPanel IP I have access
you need to whitelist all ips
this is usually done by whitelisting the
0.0.0.0/0
cidr rangeOk let me check
but again, stop using nodemon please
I ask you where to finish nodeman
in your package.json's scripts
don't use nodemon
Now what I finish??
What I clear
I'm sorry but coding help is a bit out of scope of these threads, we are here to help get your app running on railway, but unfortunately we can't write the code for you
if you don't understand how to do something code related, please do some research on what the proper start command would be, as that wouldn't be related to railway directly
Dear I understand PHP language but I need project to start so this project is in node JS and start on railway and this is my 1st experience on railway so I face issue
I'm sorry but we do not offer coding help, we can only offer coding help at a high level, such as pointing you in the right direction, like asking you not to use nodemon, if you continue to use nodemon your experience on railway will not be the best
Ok
where you able to whitelist all IPs in your database host?
Yes
where you able to move away from starting your app with nodemon?
Mean?
I leave now it's No understand
I'm sorry to hear that, we have only tried to help but you have to also help us help you, if we ask you to change something it's up to you to do the research about what we have asked
Ok sir let me ask to someone
@malik434786 - im sorry but im going to have to remove you from this server, you have gone and dm'd a bunch of people without asking, that is directly breaking #🛂|readme #5
Sorry sir
I just vin to message I don't know it's against rule
Sorry
for the record, that was not the only people you dm'd, you broke the rule multiple times