Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ npm install
npm run dev
```

> **Windows:** `npm run dev` may show a Bad Gateway error if Vite exits with a `C:\Program` path error. Run the dev stack directly instead:
> ```powershell
> $env:PYTHONUTF8 = "1"
> node --env-file-if-exists=.env .\scripts\dev-with-automation.mjs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm npm run dev simply wraps node --env-file-if-exists=.env scripts/dev-with-automation.mjs command

Unclear to me why one fails but the other works

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a workaround that allows npm run dev to work? Because once we release the npm package it would be great if they could use it directly

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the thing. I got this error for the first time I used agent canvas last week. And then earlier this week it worked great. and then i got bad getaway again!

@OpenHands can you investigate the codebase. What would need to change so windows, mac, and linux can run without running into bad getaway at all so that a user after npm install can just run npm run dev

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh! There was an unexpected error starting the job :(

> ```

Access the UI at [http://localhost:8000](http://localhost:8000). You can add additional backends directly from the UI.

# Architecture
Expand Down
Loading