-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: Storyshots do not work with React 18, TS 5, CRA 5, Storybook 7.4 #24109
Comments
I am getting the same thing when doing an I am using the
Adding |
@maxolasersquad pls try it with |
The problem is resolved with |
I just tried with 7.4.2 and I am no longer experiencing this issue. |
The Storyshots addon is officially deprecated and will be removed in a future release of Storybook. To help with the transition process, we've created a migration guide for the available options and common use cases. |
Describe the bug
@storybook/addon-storyshots
installed successfully, butpnpm test
fails with next stacktrace:To Reproduce
Issue is reproduced with Storybook 7.4 - https://github.com/apastuhov/storybook-failed-react-snapshots-reproduction
For 7.5.0-alpha - there are no issues
System
Additional context
Tried with PNPM and NPM - same error, but different stack-trace.
Workaround:
Add
"jest-resolve": "^29.6.4",
topackage.json
resolutions.Related to:
#24038
The text was updated successfully, but these errors were encountered: