T
Typebot•16mo ago
Mateus Z3

React's Bubble component

I'm able to import the Standard component to use the chat but I'm unable to import the Bubble component, it results in the following:
Failed to compile.

./src/App.js
Module not found: Can't resolve '@typebot.io/react/dist/Bubble'
Failed to compile.

./src/App.js
Module not found: Can't resolve '@typebot.io/react/dist/Bubble'
2 Replies
Mateus Z3
Mateus Z3OP•16mo ago
I tried the example from here: https://docs.typebot.io/deploy/web/libraries/react but it just returns this error:
Failed to compile.

./src/App.js
Attempted import error: 'Bubble' is not exported from '@typebot.io/react'.
Failed to compile.

./src/App.js
Attempted import error: 'Bubble' is not exported from '@typebot.io/react'.
Baptiste
Baptiste•16mo ago
Thanks for the report. I'm checking Wow indeed, the exports for Bubble was commented 🤯 I'm releasing a new version of the package now Thank you again! Should work with v0.2.37 (currently deploying)

Did you find this page helpful?