-
Notifications
You must be signed in to change notification settings - Fork 71
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
Storybook 8 + Vite + Turbosnap => Failed to retrieve dependent story files #28973 #1027
Comments
We made an update as of CLI v.11.3.1 to check storybookBaseDir against your repository root as opposed to the cwd when using TurboSnap. As of CLI v.11.3.2, we are using the cwd relative to the repo root as the default value for storybookBaseDir; if your project is in a subdirectory and you use workingDir to change your cwd, you shouldn't need to include storybookBaseDir unless it deviates from the cwd. Can you set the |
Well, that worked THANK YOU! Now my question, just for me to understand. What I have done is to remove the But since this the structure of my repo:
Shouldn't I have to set Oh I think is because my main package.json has this script command: |
Close as it works now, thank you @cgbl-90 . |
hey @julianCast regarding your other question, you can send us an email at support@chromatic.com and we will take a closer look |
Describe the bug
Having the following:
Storybook: 8.2.5
React-Vite: 8.2.5
Turbosnap enabled (onlyChanged)
If I set
onlyChanged: false
everything works fine. I don't have anyvite.config.ts
file.Structure
Main.ts
Action.yml
I get the following error:
Reproduction link
Not provided
Reproduction steps
No response
System
Additional context
Wasn't happening in Storybook 7
The text was updated successfully, but these errors were encountered: