Skip to content
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

Module not found: Can't resolve '@storybook/react/types-6-0' #16672

Closed
gvocale opened this issue Nov 12, 2021 · 1 comment
Closed

Module not found: Can't resolve '@storybook/react/types-6-0' #16672

gvocale opened this issue Nov 12, 2021 · 1 comment

Comments

@gvocale
Copy link

gvocale commented Nov 12, 2021

Describe the bug
After upgrading to Next 12, when running Cypress component tests I get the following error. This only happens during Cypress component test. Cypress component test is using import { composeStories } from "@storybook/testing-react"; to import and test the story. Has anyone run into this issue before?

Downgrading to Next 11 solves the issue.

Module not found: Can't resolve '@storybook/react/types-6-0'
@yannbf
Copy link
Member

yannbf commented Feb 2, 2022

Hey @gvocale thanks for opening this issue. I'll close it since it really belongs to storybookjs/testing-react. I answered you there!

@yannbf yannbf closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants