OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Dev mode] frontend/dist directory not found

Open Tetranode0 opened this issue 1 year ago • 3 comments

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 avatar Apr 28 '24 02:04 Tetranode0

@Tetranode0 try running cd frontend && npm run build

rbren avatar Apr 29 '24 15:04 rbren

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 avatar May 02 '24 02:05 rbren

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

iFurySt avatar May 02 '24 02:05 iFurySt

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 03 '24 01:06 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Jun 10 '24 01:06 github-actions[bot]