storybook: [Bug]: Default fonts are not found using v7 beta

Describe the bug

When using the beta branch with Vite, the fonts are not loaded:

image

To Reproduce

https://stackblitz.com/github/storybookjs/sandboxes/tree/next/lit-vite/default-ts/after-storybook

System

Environment Info:
- System (WSL):
  - OS: Linux 5.15 Alpine Linux
  - CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
- Binaries:
  - Node: 18.12.1 - /usr/bin/node
  - Yarn: 3.3.1 - /usr/bin/yarn
  - npm: 9.1.2 - /usr/bin/npm

Additional context

The error happens with the default template; no extra steps are needed to run the generated storybook files unchanged.

Edits

  • The issue seems to be happening on non-vite frameworks, so removed the Vite from the title.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Ooh-la-la!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.49 containing PR #21119 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb@next upgrade --prerelease

I’ll investigate this today with @valentinpalkovic

Gadzooks!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.44 containing PR #20957 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb@next upgrade --prerelease

“Serving static files from” line is back to being executed before the “Starting manager…” 😃

I had some weird 404 errors loading webpack chunks that seemed to go away when I set my dev tools to ignore the cache. Try clearing/ignoring your cache and see if that helps.

Tried it in incognito, cache disabled, still occurs.