Installing base frontend packages failed with exit code 255
Describe the bug When running reflex run it get that error Installing base frontend packages failed with exit code 255
To Reproduce Steps to reproduce the behavior:
- Literally i installed ubuntu Desktop in virtualbox, i did full update and upgrade on it later tried with python3 -m venv venv
- later i did source venv/bin/activate and pip3 install reflex
- i did reflex init (and selected option 0)
- later i have copied a code from https://reflex.dev/docs/getting-started/introduction/ in a file called webapp.py
- later i saved code and did reflex run
- i have tried without venv enviorement too but is same error as i show in the screenshot
Expected behavior that the webapps launch like in docs shows
Screenshots
Specifics (please complete the following information):
- Python Version: Python 3.12.3
- Reflex Version: 0.5.5
- OS: Ubuntu 24.04 LTS (Installed on VirtualBox)
- Browser (Optional): Firefox
Additional context have followed the docs and copied a code from it, actually got this code
import reflex as rx
class State(rx.State):
count: int = 0
def increment(self):
self.count += 1
def decrement(self):
self.count -= 1
def index():
return rx.hstack(
rx.button(
"Decrement",
color_scheme="ruby",
on_click=State.decrement,
),
rx.heading(State.count, font_size="2em"),
rx.button(
"Increment",
color_scheme="grass",
on_click=State.increment,
),
spacing="4",
)
app = rx.App()
app.add_page(index)
later i saved it and tried with root mode run the app with reflex run
Does it do this every time you run reflex run ? Wondering if the result is any different when you run without sudo
Does it do this every time you run
reflex run? Wondering if the result is any different when you run withoutsudo
hello eliah, this happend with sudo and not sudo, i dont know why for be exactly, have tried with root and no root and is same issue, but after few checks i saw is in /media directory wich is the directory where i share from virtualbox to host OS, so i dont know if is for that or is a bug with reflex and virtualbox, because in other directory works fine but with the directory where i share to HOST dont works , but all the other things work that dont are with reflex like python3 for example works fine
Is this issue still happening @SirKnightV ? We haven't had any other user reporting this problem, so it might be a local problem with how your workspace is set up.
closing because it's stale