Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev mode] frontend/dist directory not found #1419

Open
Tetranode0 opened this issue Apr 28, 2024 · 3 comments
Open

[Dev mode] frontend/dist directory not found #1419

Tetranode0 opened this issue Apr 28, 2024 · 3 comments
Labels
question Further information is requested severity:low Minor issues, code cleanup, etc

Comments

@Tetranode0
Copy link

Hey everyone, I'm very new to programming.

Currently in VsCode setting up the 'frontend/dist' directory using Uvicorn. However, I keep getting an error stating that the directory DNE, despite attempts to correctly build the frontend and ensure the directory is present.

Why wouldn't Uvicorn recognise the frontend/dist directory?

I hope this question wasn't too elementary, lmao.

@Tetranode0 Tetranode0 added the question Further information is requested label Apr 28, 2024
@rbren
Copy link
Collaborator

rbren commented Apr 29, 2024

@Tetranode0 try running cd frontend && npm run build

@rbren
Copy link
Collaborator

rbren commented May 2, 2024

I believe we should be skipping the attempt to serve from frontend/dist when in dev mode, or that we should mkdir -p it during make build

@rbren rbren changed the title Issue serving frontend/dist directory using Uvicorn [Dev mode] frontend/dist directory not found May 2, 2024
@rbren rbren added the severity:low Minor issues, code cleanup, etc label May 2, 2024
@iFurySt
Copy link
Collaborator

iFurySt commented May 2, 2024

yes, it makes sense for dev. I also manually created the dir before🌚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested severity:low Minor issues, code cleanup, etc
Projects
None yet
Development

No branches or pull requests

3 participants