Error in Deploying Python Reflex App
Hi - I'm trying to deploy a Reflex.dev python application through Railway following the template created by @Brody (here: https://railway.app/template/A5TaaV) and it's failing on the step that it tries to run
reflex export --frontend-only --no-zip
with the following error:
Tried the following troubleshooting:
- Ran the same command locally, and no issues
- Deployed the unmodified template and the error is present then
Git repo: No, this is for a simple personal site - https://github.com/kamakaya/personal-site-reflex
Has anyone experienced this? Any suggestions?
Thanks in advance!GitHub
GitHub - kamakaya/personal-site-reflex
Contribute to kamakaya/personal-site-reflex development by creating an account on GitHub.
6 Replies
Project ID:
c11a6e73-5ace-4666-9fc1-95ec0040a6b3
c11a6e73-5ace-4666-9fc1-95ec0040a6b3
doing a few things at once right now, i will get to this
No rush, Brody. I'll try to make some progress and will update you if I get anywhere
Looks like is Reflex is attempting to use Node.js version v18.17.0, which requires GLIBC_2.36, but this version of GLIBC is not found in the build environment.
yeah this is kinda an issue with nixpacks
Solution
heres the fix https://github.com/brody192/reflex-template/pull/2/files