I get a build error when using the AtlasKit Breadcrumb component with a create-react-app project. Once I use the Breadcrumb somewhere I get this error during build:
app/node_modules/react-loosely-lazy/lib/esm/suspense/index.js Attempted import error: 'Fallback' is not exported from './context'.
When I check where this error comes from:
yarn why react-loosely-lazy yarn why v1.22.4 [1/4] 🤔 Why do we have the module "react-loosely-lazy"...? [2/4] 🚚 Initialising dependency graph... [3/4] 🔍 Finding dependency... [4/4] 🚡 Calculating file sizes... => Found "email@example.com" info Reasons this module exists - "_project_#app#@atlaskit#breadcrumbs" depends on it - Hoisted from "_project_#app#@atlaskit#breadcrumbs#react-loosely-lazy"
It seems to come from the react-loosely-lazy and some wrongly imports/exports somehow.
I updated to latest breadcrumb version
@firstname.lastname@example.org but the error remains. I tried to open an issue on Atlassian Design System Jira, but I have no write access
Does anyone else have this error or can tell me how to get rid of it, thanks