R
Railway•5mo ago
malik

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
No description
71 Replies
Percy
Percy•5mo ago
Project ID: N/A
Brody
Brody•5mo ago
malik
malik•5mo ago
Bro I have node JS project Bro help me
Brody
Brody•5mo ago
please follow the docs i linked
malik
malik•5mo ago
Error show again
Brody
Brody•5mo ago
have you installed the railway cli
malik
malik•5mo ago
No description
malik
malik•5mo ago
Now this error show after installation ?
Brody
Brody•5mo ago
can you try using cmd instead of powershell?
malik
malik•5mo ago
Sir why not complete deploy server error
No description
No description
malik
malik•5mo ago
Sir?
Brody
Brody•5mo ago
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
malik
malik•5mo ago
Sir it's not solve please you tell me what I changed then app not crashed ? Bro
Brody
Brody•5mo ago
where you able to read the docs page?
malik
malik•5mo ago
I read but no understand My 1st project on railway because I understand just PHP html CSS this is node JS project
Brody
Brody•5mo ago
please give that docs page another look it already has everything i would tell you
malik
malik•5mo ago
No work I am try too many time
Brody
Brody•5mo ago
what have you tried?
alex
alex•5mo ago
can you link your github repo i'll take a peek
malik
malik•5mo ago
Yes dear I link it with github
alex
alex•5mo ago
like send it in here so i can look at it please
malik
malik•5mo ago
I send you my GitHub login Gmail or password?
alex
alex•5mo ago
<a:AA_Illya_What:609295471416180736> no is the repository public?
malik
malik•5mo ago
Yes
alex
alex•5mo ago
send me the link to it
malik
malik•5mo ago
Ok wait
alex
alex•5mo ago
aliens
malik
malik•5mo ago
GitHub
GitHub - mudassir434/69lottary
Contribute to mudassir434/69lottary development by creating an account on GitHub.
malik
malik•5mo ago
Please see
alex
alex•5mo ago
where did you get this code from?
malik
malik•5mo ago
Repo
alex
alex•5mo ago
im sorry i have to go bed
malik
malik•5mo ago
Ok Can this is not repo correct? You just tell me why app crashed what problem? ??? Anyone here? ????
King Jahad
King Jahad•5mo ago
I think it's more of a code problem, not a railway problem.
malik
malik•5mo ago
Bro code is correct I see already but now I don't know why it's no work
King Jahad
King Jahad•5mo ago
Can you run it locally? Send a screenshot it's hard to read from a camera clicked photo.
MantisInABox
MantisInABox•5mo ago
Based on the error you don't have a database setup and connected to your node service
malik
malik•5mo ago
This database
malik
malik•5mo ago
No description
King Jahad
King Jahad•5mo ago
need Screenshot
malik
malik•5mo ago
What type? So I send you
MantisInABox
MantisInABox•5mo ago
A screenshot. He is having trouble reading the photos you are sending Where is this database hosted?
malik
malik•5mo ago
Piprahost ?? Hli
King Jahad
King Jahad•5mo ago
Screenshot of your program running on local and deploy logs on railway .
malik
malik•5mo ago
No description
malik
malik•5mo ago
This is deploy log
Brody
Brody•5mo ago
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
malik
malik•5mo ago
Where to finish nodeman please just tell me morning to just 1 issue solve but it not solve
Brody
Brody•5mo ago
the error states that you have not whitelisted all IPS for access to your database, please do that in your database host
malik
malik•5mo ago
I give the host is my cPanel IP I have access
Brody
Brody•5mo ago
you need to whitelist all ips this is usually done by whitelisting the 0.0.0.0/0 cidr range
malik
malik•5mo ago
Ok let me check
Brody
Brody•5mo ago
but again, stop using nodemon please
malik
malik•5mo ago
I ask you where to finish nodeman
Brody
Brody•5mo ago
in your package.json's scripts
malik
malik•5mo ago
No description
Brody
Brody•5mo ago
don't use nodemon
malik
malik•5mo ago
Now what I finish?? What I clear
Brody
Brody•5mo ago
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
malik
malik•5mo ago
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
Brody
Brody•5mo ago
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
malik
malik•5mo ago
Ok
Brody
Brody•5mo ago
where you able to whitelist all IPs in your database host?
malik
malik•5mo ago
Yes
Brody
Brody•5mo ago
where you able to move away from starting your app with nodemon?
malik
malik•5mo ago
Mean? I leave now it's No understand
Brody
Brody•5mo ago
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
malik
malik•5mo ago
Ok sir let me ask to someone
Brody
Brody•5mo ago
@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
malik
malik•5mo ago
Sorry sir I just vin to message I don't know it's against rule Sorry
Brody
Brody•5mo ago
for the record, that was not the only people you dm'd, you broke the rule multiple times