2 years ago
When i try to hit my staging environment it's returning a server error. I think there's a bug. Production works fine.
17 Replies
2 years ago
i attached a screenshot. says it can't read undefined of "my" but that's not part of my code.
Attachments
2 years ago
could be some error from minification, are you making sure to have nixpacks build and run your app with the same version of node that you developed the app with?
2 years ago
yups.
2 years ago
do you have any other suggestions?
2 years ago
I am not.
2 years ago
could you elaborate? all the settings are the same as production. i only changed the code in my app.
2 years ago
My code run's fine in local and prod.
2 years ago
Unfortunately, that doesn't rule out a code or config issue. Please make sure you have the container's environment as close to your local environment as possible.
2 years ago
how do i do that? the configurations on the railway dashboard are exactly the same.
2 years ago
Are you sure it's not the build process in the staging environment that railway setup?
2 years ago
You are in near full control of them, if there are issues in that regard it would point to a code or config issue.
2 years ago
ok thanks.