You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `storyFn`.
To Reproduce
Steps to reproduce the behavior:
In your terminal, paste git clone https://github.com/raulfdm/raulmelo.dev.git separator-bug
Navigate into the cloned folder: cd separator-bug
Then, checkout to the branch I have this problem: git checkout upgrade-deps
Install the dependencies using yarn: yarn install
navigate to projects/web folder: cd projects/web/
run: yarn storybook
open localhost:6006 and check the error;
Then, open any story inside Blog folder, like: src/screens/Blog/components/AvailableTranslations/AvailableTranslations.stories.tsx
remove the separator
Check the changed story in the browser
Shell steps:
git clone https://github.com/raulfdm/raulmelo.dev.git separator-bug
cd separator-bug
git checkout upgrade-deps
yarn install
cd projects/web
yarn storybook # It might be needed to run with NODE_ENV=test
As you can see the PR, I upgrade all dependencies from this project and also completely regenerate yarn.lock. I have a gut feelings that it's conflict with the babel config I have inside ./projects/web/.babel.config.js but I cannot explain why.
The text was updated successfully, but these errors were encountered:
Describe the bug
For some reason, after I upgrade SB from 6.0.21 to 6.0.26 together with a BUNCH of other dependencies my stories just had broken.
After some debugging I notice that it's because of the separator (check Gif).
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/raulfdm/raulmelo.dev.git separator-bug
cd separator-bug
git checkout upgrade-deps
yarn install
projects/web
folder:cd projects/web/
yarn storybook
localhost:6006
and check the error;Blog
folder, like:src/screens/Blog/components/AvailableTranslations/AvailableTranslations.stories.tsx
Shell steps:
Expected behavior
It should work just fine with the separator.
Screenshots
(For better visualize, open in a new tab)
System
Additional context
As you can see the PR, I upgrade all dependencies from this project and also completely regenerate
yarn.lock
. I have a gut feelings that it's conflict with the babel config I have inside./projects/web/.babel.config.js
but I cannot explain why.The text was updated successfully, but these errors were encountered: