reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
20.52k stars 1.18k forks source link

Installing base frontend packages failed with exit code 255 #3571

Open SirKnightV opened 5 months ago

SirKnightV commented 5 months ago

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:

Expected behavior that the webapps launch like in docs shows

Screenshots image

Specifics (please complete the following information):

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

ElijahAhianyo commented 5 months ago

Does it do this every time you run reflex run ? Wondering if the result is any different when you run without sudo

SirKnightV commented 5 months ago

Does it do this every time you run reflex run ? Wondering if the result is any different when you run without sudo

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

Lendemor commented 2 months ago

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.