"Uh Oh!!" on load, sveltekit or railway issue?
when i try to load my website https://fairdash-ui-production.up.railway.app/ it serves me "Uh Oh!!" and im not sure whats causing this, im getting an error in the console which i will paste below
30 Replies
Project ID:
18511ac5-68eb-4ce8-8372-d8c7ef763bbf
18511ac5-68eb-4ce8-8372-d8c7ef763bbf
likely caused by a current issue with Railway
looks like railway has recovered, can you confirm this is still an issue?
yes it id still happening
the link is in the initial message
have you tried a redeploy?
no
cant hurt, give it a shot
doing rn
still the same
the code you showed, is that code from sveltekit, or is it your code?
sveltekit, its on every page load i get that
did you recently upgrade sveltekit?
no
can you roll back your github comments to make sure it's not something in your code?
i added mongodb as a dependency, could that be why? it worked on development
https://github.com/subtosharki/fairdash-ui is the code
GitHub
GitHub - subtosharki/fairdash-ui: the client side for fairdash
the client side for fairdash. Contribute to subtosharki/fairdash-ui development by creating an account on GitHub.
roll back your commit history to check if you have introduced anything to cause this issue
.
.
thats not helpful, i asked initially if it was a railway or sveltekit issue.
or could it be docker?
please try my suggestions
help me, help you
what do you mean by roll back
roll back to a previous commit on your repo
please consult githubs docs if youre unsure how to do that
rolled back to before i added mongodb as a dependency, its working. does mongodb not support browser for oid creation
that would more so be a question for mongo's docs
it is not a mongodb error, i removed that part of the code and it is still happening
you rolled back and it worked, so it was something you've changed, please review your code
that was the only thing that changed from the rollback, i added mongo and used it
I'm sorry but this wouldn't be an issue with Railway, please review your code
maybe someone will come along who knows about this error and could help you, but unfortunately that's not me
it runs perfectly when built on my local machine, im not sure whats making it act like this on railway
I agree that's super odd, but working locally does not always mean it will work elsewhere, and working locally also does not rule out a code issue