Skip to content

Starting a local server fails #5670

@stur86

Description

@stur86

Describe the bug

I installed flowise using npm install -g flowise according to the instructions given here:

https://docs.flowiseai.com/getting-started

However when I run npx flowise start I get this error:

ReferenceError: File is not defined
    at Object.<anonymous> (/home/my_username/node/lib/node_modules/flowise/node_modules/cheerio/node_modules/undici/lib/web/webidl/index.js:533:48)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/my_username/node/lib/node_modules/flowise/node_modules/cheerio/node_modules/undici/lib/web/fetch/util.js:12:20)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)

printed four times.

Permissions should be fine as I use a folder in the $HOME which I own for my NPM globally installed packages. Currently using Linux Mint 22.2 Cinnamon and npm 9.2.0.

To Reproduce

  1. Install with npm install -g flowise
  2. Run npx flowise start

Expected behavior

The server starts and runs on localhost:3000.

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

3.0.12

Operating System

Linux

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions