Description
Describe the bug
Going in to the canvas page by clicking create new chatflow/agentflow results in a blank page.
Error in the console (more info in screenshot below):
Uncaught TypeError: Cannot read properties of undefined (reading 'source')
Happens only on the dev UI on port 8080. Not on the static build UI served by the server on port 3000, it works as expected on the port 3000 UI.
Marketplace templates canvas works fine. Can verify the dev UI is connected to the server since the .env has the VITE_API_BASE_URL field set to http://localhost:3000. All other features of the UI dev work as expected. Can also see the chatflows created on the static build UI on port 3000 from the dev UI. Upon clicking into it however results in the same blank screen and error message.
To Reproduce
Steps to reproduce the behavior:
- Clone source: Flowise Version [[email protected]]
- run
pnpm install
andpnpm build
as per README instructions - Create ui/.env and server/.env from their respective examples
- Run
pnpm dev
- Click
+ Add New
in the chatflows page - You'll see a blank screen
Expected behavior
The canvas page with the node editor view. This works on the static build UI on port 3000, just not on the dev UI on 8080
STATIC SERVER UI (works fine):
Setup
- Installation:
pnpm dev
- Flowise Version [[email protected]]
- OS: Windows
- Browser: Chrome