Skip to content

[BUG] Clicking on create new chatflow/agentflow in dev UI (port 8080) results in a blank screen #4133

Closed
@nimishsantosh107

Description

@nimishsantosh107

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:

  1. Clone source: Flowise Version [[email protected]]
  2. run pnpm install and pnpm build as per README instructions
  3. Create ui/.env and server/.env from their respective examples
  4. Run pnpm dev
  5. Click + Add New in the chatflows page
  6. 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

Screenshots
DEV UI:
Image

STATIC SERVER UI (works fine):
Image

Setup

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-workIssue in work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions