-
Notifications
You must be signed in to change notification settings - Fork 72
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]: Cannot find module 'storybook/internal/common' #505
Comments
I am also facing the same issue. Pls help |
Facing same issue as above |
Me too... |
This bug seems to be resolved after running: |
Same here, but I'm using [email protected] with @storybook/[email protected] (I have also tried 0.19.1). I did upgrade other deps that's when the issue started happening, I'm trying to find which one caused it |
FYI, I've found that if I remove |
It seems that my issue was related with being in storybook@7 using [email protected] which had storybook@8 deps. I switched to 0.16.0 and it started working again. It was working before with storybook@7 due to the magic hand of the lock file god, that allowed some [email protected] deps to be mixed with storybook@7 itself (if I'm not mistaken it was some deps like @storybook/channels and @storybook/types and 1-2 more). |
Same here -
|
Running into the same issue when using Yarn PnP:
It seems the As a workaround, this can be patched with Yarn in your packageExtensions:
'@storybook/test-runner@*':
peerDependencies:
storybook: ">=8" Make sure to install the |
Hey everyone! Thanks for reporting this. Here is a quick summary:
|
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> I got this error locally, I think it is because @storybook/test-runner is incompatible with storybook version storybookjs/test-runner#505 <img width="1147" alt="Screenshot 2024-11-15 at 12 22 13 PM" src="https://github.com/user-attachments/assets/e2a9f4c9-e784-4946-8677-b60b62ff36ef"> from https://github.com/storybookjs/test-runner#storybook-compatibility storybook ^8.2.0 should use @storybook/test-runner ^0.19.0 ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
Describe the bug
Running
yarn test-storybook
responds with an errorCannot find module 'storybook/internal/common'
.On version 0.16 everything is fine. With 0.17 the problems start.
To Reproduce
System
Additional context
No response
The text was updated successfully, but these errors were encountered: