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

[Bug] cached startup of storybook shows vite entrypoint #454

Closed
1 task
pmelab opened this issue Jul 21, 2022 · 1 comment
Closed
1 task

[Bug] cached startup of storybook shows vite entrypoint #454

pmelab opened this issue Jul 21, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@pmelab
Copy link

pmelab commented Jul 21, 2022

What version of vite are you using?

3.0.0

System info and storybook versions

System:
OS: macOS 12.2.1
CPU: (8) arm64 Apple M1
Binaries:
Node: 16.16.0 - ~/.volta/tools/image/node/16.16.0/bin/node
Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
npm: 8.11.0 - ~/.volta/tools/image/node/16.16.0/bin/npm
Browsers:
Chrome: 103.0.5060.114
Edge: 103.0.1264.62
Firefox: 102.0.1
Safari: 15.3
npmPackages:
@storybook/addon-actions: ^6.5.9 => 6.5.9
@storybook/addon-essentials: ^6.5.9 => 6.5.9
@storybook/addon-interactions: ^6.5.9 => 6.5.9
@storybook/addon-links: ^6.5.9 => 6.5.9
@storybook/builder-vite: ^0.2.0 => 0.2.0
@storybook/react: ^6.5.9 => 6.5.9
@storybook/testing-library: ^0.0.13 => 0.0.13

Describe the Bug

When creating a new project according to the documentation ...

npm create vite@latest # follow the prompts
npx sb init --builder @storybook/builder-vite && npm run storybook

... everything is fine on the initial startup of storybook. But when stopping and restarting it, port 6006 binds to the vite app instead. When clearing the cache folder it works again one time.

Link to Minimal Reproducible Example

No response

Participation

  • I am willing to submit a pull request for this issue.
@pmelab pmelab added the bug Something isn't working label Jul 21, 2022
@IanVS IanVS added the duplicate This issue or pull request already exists label Jul 21, 2022
@IanVS
Copy link
Member

IanVS commented Jul 21, 2022

Hi, this is the same issue as #446, and will be fixed as soon as I can release a new version. Thanks for the report.

@IanVS IanVS closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants