-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: storyStore.getError is not a function (After installing @storybook/addon-storyshots) #9728
Comments
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Describe the bug
After installing
@storybook/addon-storyshots: 5.3.10
or6.0.0-alpha.4
storybook breakes in the browser and it errors:TypeError: storyStore.getError is not a function
We're in the process of upgrading to Storybook 5.3.10.
Without the Storyshots addon, everything builds correctly in the browser. 🎉
After following these instructions. Which docs states to require minimal set up if stories are wired to the
main.js
new syntax.Installing a lower release of
@storybook/addon-storyshots
after runningyarn test
. Tests fail and I get the following error:Test suite failed to run: Cannot find module 'core-js/modules/es.array.for-each' from 'index.js'
. But it does not prevent storybook to render without problems in the browserInstalling every addon (actions, storyshots, a11y) + storybook/react to be on the same version
"5.3.10"
or5.3.9
after runningyarn test
. Tests passes and snapshots are created correctly. But storybook breaks and fails to render.So the caveat here is that my stories seem to be wired correctly per the migration guide.
But the existence or absence of '@storybook/addon-storyshots' either gives me passing tests or stories rendering as CSF
but not both. 😿
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Storybook should render correctly in the browser and snapshot add-on should read from
Storyshots.test.js
accordingly.Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
If applicable, add code samples to help explain your problem.
Foo.stories.js
Storyshots.test.js
package.json
.storybook
main.js
manager.js
preview.js
System:
Please paste the results of
npx -p @storybook/cli@next sb info
here.Additional context
I'm making sure that all packages related to storybook run on the same version.
The text was updated successfully, but these errors were encountered: