8000 Issue on docs · Issue #89 · botpress/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Issue on docs #89
Open
Open
@Chimmz

Description

@Chimmz

Path: /webchat/webchat-components/component-library/message-list

I'm getting an error when I import these client functions/constructors:
import { getClient, Webchat, WebchatProvider } from '@botpress/webchat';

Here's the error:
TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
at index.js:432:16
at lI (index.js:870:3)
at [project]/node_modules/@botpress/webchat/dist/index.js [app-client] (ecmascript) (http://localhost:3000/_next/static/chunks/node_modules_%40botpress_webchat_dist_index_3c1180.js:948:91)
at dev-base.ts:205:21
at runModuleExecutionHooks (dev-base.ts:264:5)
at instantiateModule (dev-base.ts:203:5)
at getOrInstantiateModuleFromParent (dev-base.ts:132:10)
at esmImport (runtime-utils.ts:214:18)
at [project]/src/app/chatbot/components/chat.tsx [app-client] (ecmascript) (http://localhost:3000/_next/static/chunks/src_e17abe._.js:106:161)
at dev-base.ts:205:21
at runModuleExecutionHooks (dev-base.ts:264:5)
at instantiateModule (dev-base.ts:203:5)
at getOrInstantiateModuleFromParent (dev-base.ts:132:10)
at esmImport (runtime-utils.ts:214:18)
at src_app_chatbot__components_chat_tsx_2311cb.
.js:23:16

I've spent time searching for the real solution to this issue, but found none.
My React and React-dom versions are same (18.3.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0