question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] SB v7 docs broken without storyStoreV7

See original GitHub issue

What version of vite are you using?

3.0.0

System info and storybook versions

System: OS: macOS 12.5.1 CPU: (10) arm64 Apple M1 Pro Binaries: Node: 16.15.0 - /usr/local/bin/node Yarn: 1.22.17 - /opt/homebrew/bin/yarn npm: 8.5.5 - /usr/local/bin/npm Browsers: Chrome: 105.0.5195.52 Firefox: 104.0.1 Safari: 15.6.1 npmPackages: @storybook/addon-a11y: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-actions: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-backgrounds: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-docs: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-essentials: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-highlight: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-interactions: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-measure: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addon-outline: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/addons: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/api: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/channel-postmessage: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/channel-websocket: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/cli: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/client-api: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/client-logger: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/components: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/core-client: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/core-events: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/preview-web: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/react: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/react-vite: ^7.0.0-alpha.28 => 7.0.0-alpha.28 @storybook/testing-library: ^0.0.13 => 0.0.13 @storybook/theming: ^7.0.0-alpha.28 => 7.0.0-alpha.28

Describe the Bug

This is for a pnpm monorepo project migrating from 7.0.0-alpha.10 webpack React to 7.0.0-alpha.28 with the Vite framework. I have storyStoreV7 set to false due to TypeError: Failed to fetch error. Everything is working great using the Vite framework except for the new Docs pages that are now on the sidebar with the stories:

Screen Shot 2022-09-02 at 8 21 39 AM

I’ve tried removing addons, tweaking any configuration but nothing seems to help. Any suggestions?

Link to Minimal Reproducible Example

No response

Participation

  • I am willing to submit a pull request for this issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Niznikrcommented, Sep 21, 2022

That fixed it thanks!

1reaction
tmeasdaycommented, Sep 7, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve error reporting for duplicate story definitions #19094
I get the following error when storyStoreV7 is true: The console shows: E... ... @storybook/addon-docs: ^7.0.0-alpha.28 => 7.0.0-alpha.28
Read more >
Storybook 6 Migration Guide
The first thing to do is upgrade your Storybook packages, @storybook/* . You can do this with the following command: npx sb@latest upgrade....
Read more >
@storybook/client-logger | Yarn - Package Manager
Storybook Logger. Any client-side logging that is done through storybook should be done through this package. Examples:
Read more >
Brave browser Google Docs & Sheets not working on Mac
The Brave browser team is aware of a bug where Google Docs, Sheets and some other sites are not loading, but there are...
Read more >
storybookjs/storybook (Raised $170.00)
Documentation : angular decorator not working without template ... sb init fails with error code 1 in the app created with ng new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found