el_magnifico
el_magnifico
RRailway
Created by el_magnifico on 11/9/2023 in #✋|help
Error in Deploying Python Reflex App
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.
> [stage-0 12/16] RUN reflex export --frontend-only --no-zip --loglevel debug:
5.836 File "/opt/venv/lib/python3.11/site-packages/reflex/utils/prerequisites.py", line 58, in get_node_version
5.836 return version.parse(result.stdout) # type: ignore
5.836 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5.836 File "/opt/venv/lib/python3.11/site-packages/packaging/version.py", line 54, in parse
5.836 return Version(version)
5.836 ^^^^^^^^^^^^^^^^
5.836 File "/opt/venv/lib/python3.11/site-packages/packaging/version.py", line 200, in __init__
5.836 raise InvalidVersion(f"Invalid version: '{version}'")
5.836 packaging.version.InvalidVersion: Invalid version: '/root/.local/share/reflex/fnm/node-versions/v18.17.0/installation/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)
> [stage-0 12/16] RUN reflex export --frontend-only --no-zip --loglevel debug:
5.836 File "/opt/venv/lib/python3.11/site-packages/reflex/utils/prerequisites.py", line 58, in get_node_version
5.836 return version.parse(result.stdout) # type: ignore
5.836 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5.836 File "/opt/venv/lib/python3.11/site-packages/packaging/version.py", line 54, in parse
5.836 return Version(version)
5.836 ^^^^^^^^^^^^^^^^
5.836 File "/opt/venv/lib/python3.11/site-packages/packaging/version.py", line 200, in __init__
5.836 raise InvalidVersion(f"Invalid version: '{version}'")
5.836 packaging.version.InvalidVersion: Invalid version: '/root/.local/share/reflex/fnm/node-versions/v18.17.0/installation/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)
9 replies
RRailway
Created by el_magnifico on 11/9/2023 in #✋|help
Error in Deploying Python Reflex App
No rush, Brody. I'll try to make some progress and will update you if I get anywhere
9 replies
RRailway
Created by el_magnifico on 11/9/2023 in #✋|help
Error in Deploying Python Reflex App
c11a6e73-5ace-4666-9fc1-95ec0040a6b3
9 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
Yup! Thanks again, Brody
25 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
Just tried to deploy the unmodified template, and got the same error btw
25 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
Okay - will do
25 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
No, this is for a simple personal site - https://github.com/kamakaya/personal-site-reflex
25 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
@Brody quick question - I'm getting this error on deployment. Did you see this at all when you were building the template?
11.33 Creating Production Build: 0% 0/9 0:00:00

-----

Dockerfile:30

-------------------

28 | # export phase

29 | COPY . /app/.

30 | >>> RUN reflex export --frontend-only --no-zip

31 |

32 | # caddy phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c reflex export --frontend-only --no-zip" did not complete successfully: exit code: 1



Error: Docker build failed
11.33 Creating Production Build: 0% 0/9 0:00:00

-----

Dockerfile:30

-------------------

28 | # export phase

29 | COPY . /app/.

30 | >>> RUN reflex export --frontend-only --no-zip

31 |

32 | # caddy phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c reflex export --frontend-only --no-zip" did not complete successfully: exit code: 1



Error: Docker build failed
25 replies
RRailway
Created by ale on 8/26/2023 in #✋|help
Reflex
@Brody you're awesome! Thanks for this
25 replies