Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Deploy erro #6656

Open
Open

Description

@zhuyifeiRuichuang

Describe the bug

container logs has

root@app1 Thu Jul 23 [02:13:32] : /opt/Flowise/docker
# docker logs docker-flowise-1 
2026-07-23 02:13:27 [INFO]: Starting Flowise...
2026-07-23 02:13:27 [INFO]: 📦 [server]: Data Source initialized successfully
2026-07-23 02:13:29 [INFO]: 🔄 [server]: Database migrations completed successfully
2026-07-23 02:13:29 [INFO]: 🔐 [server]: Identity Manager initialized successfully
2026-07-23 02:13:29 [ERROR]: ❌ [server]: Error during initDatabase with file /usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/agents/ReActAgentChat/ReActAgentChat.js: Package subpath './utils/uuid' is not defined by "exports" in /usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/@langchain/core/package.json
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './utils/uuid' is not defined by "exports" in /usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/@langchain/core/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:322:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:670:9)
    at resolveExports (node:internal/modules/cjs/loader:638:36)
    at Module._findPath (node:internal/modules/cjs/loader:711:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)
    at Module._load (node:internal/modules/cjs/loader:1038:27)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/langchain/node_modules/@langchain/langgraph-checkpoint/dist/id.cjs:1:34)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Module.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/langchain/node_modules/@langchain/langgraph-checkpoint/dist/index.cjs:2:20)
2026-07-23 02:13:29 [ERROR]: ❌ [server]: Error during initDatabase with file /usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/agents/ReActAgentLLM/ReActAgentLLM.js: Package subpath './utils/uuid' is not defined by "exports" in /usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/@langchain/core/package.json
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './utils/uuid' is not defined by "exports" in /usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/@langchain/core/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:322:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:670:9)
    at resolveExports (node:internal/modules/cjs/loader:638:36)
    at Module._findPath (node:internal/modules/cjs/loader:711:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)
    at Module._load (node:internal/modules/cjs/loader:1038:27)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/langchain/node_modules/@langchain/langgraph-checkpoint/dist/id.cjs:1:34)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Module.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/langchain/node_modules/@langchain/langgraph-checkpoint/dist/index.cjs:2:20)

To Reproduce

docker compose up -d

Expected behavior

container need healthy

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

Additional context

No response

Activity

  1. wjyrun commented on Jul 23, 2026

    @wjyrun

    Same error here, running version 3.1.2.
    docker compose

  2. alexandrosang21 commented on Aug 7, 2026

    @alexandrosang21

    This is a version conflict inside flowise-components, not a broken install.

    ./utils/uuid only exists in @langchain/core 1.x:

    version ./utils/uuid in exports
    0.2.31 missing
    0.3.40 missing
    0.3.66 missing
    1.2.5 present

    flowise-components pins the right one, and has done for every recent release:

    flowise-components@3.1.0 -> @langchain/core 1.1.20
    flowise-components@3.1.2 -> @langchain/core 1.1.20
    flowise-components@3.1.4 -> @langchain/core 1.1.20
    

    It also depends on @langchain/langgraph ^0.0.22, and that version declares:

    "@langchain/core": ">0.1.61 <0.3.0"

    which 1.1.20 cannot satisfy, so npm installs a second copy. When the 0.2.x copy lands at
    flowise-components/node_modules/@langchain/core it shadows the pinned 1.1.20 for
    flowise-components' own dist/** files, because they resolve @langchain/core from their
    own directory first. ReActAgentChat.js asks for @langchain/core/utils/uuid, reaches the
    0.2.x copy, and that subpath is not exported there. Hence the error naming
    flowise-components/node_modules/@langchain/core specifically rather than the hoisted one.

    Every other langchain dependency in 3.1.4 is on 1.x or 2.x. langgraph at ^0.0.22 is the
    only one still on the old line.

    Worth flagging before anyone tries the obvious one-line bump: @langchain/langgraph@1.4.9
    declares peer @langchain/core: ^1.1.48, which is above the pinned 1.1.20, so both would
    need to move together. And langgraph is imported in ten files, including the three checkpoint
    savers and the sequentialagents nodes:

    packages/server/src/utils/buildAgentGraph.ts                    StateGraph, END, START
    packages/components/nodes/memory/AgentMemory/**                 BaseCheckpointSaver,
                                                                    Checkpoint, CheckpointMetadata
    packages/components/nodes/sequentialagents/{Start,Agent,State,End}   START, END, StateGraph
    

    The checkpoint API changed a lot between 0.0.x and 1.x, so this is a real migration rather
    than a version bump, which is why I am reporting it rather than sending a patch.

    @wjyrun, until it is fixed upstream there is no clean workaround from the compose file alone,
    since the conflict is inside the published flowise-components tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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