-
Notifications
You must be signed in to change notification settings - Fork 87
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 is broken ("Gt is not defined" on all stories) #1060
Comments
I just tested with Manual Bisect results:
BTW – v.2.5.0 showed this sleek and practical "design" when running |
OK i could pin it down to commit 6ef4005 – if i revert that in my test setup stories render fine again. So, if we're lucky it's just adding in |
I did try adding @storybook/builder-vite to no avail. But after some playing around with the build commands i could find that the underlying reason seems to be
And indeed, publint reports a couple of issues here: https://publint.dev/@livekit/[email protected] @lukasIO i am again struggling with TSup to generate the necessary file (this time it's the |
Select which package(s) are affected
Mainly @storybook/react
Describe the bug
I wanted to explore the storybook to better understand the individual components, as i'm investigating into a migration of an existing app that had its components modeled after https://github.com/livekit/livekit-react – also i was hoping to find good approaches to improve our own stories for those components and possibly find a working
simulateParticipants()
example, as that method is barely documented and all initial tries with it failed.So i tried both
pnpm dev:storybook
and alsobuild:storybook
, firing up a dev server to viewdocs/storybook/storybook-static/index.html
with the latter.The Storybook itself renders, but all stories show up like this
Reproduction
Wait until this box appears:
then open up a browser and go to http://localhost:6006/
Logs
No response
System Info
System: OS: Linux 6.12 Manjaro Linux CPU: (4) x64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz Memory: 3.05 GB / 7.64 GB Container: Yes Shell: 5.2.37 - /bin/bash Binaries: Node: 20.7.0 - /run/user/1000/fnm_multishells/2019_1735143515825/bin/node npm: 10.1.0 - /run/user/1000/fnm_multishells/2019_1735143515825/bin/npm pnpm: 9.12.1 - /run/user/1000/fnm_multishells/2019_1735143515825/bin/pnpm bun: 1.1.42 - /usr/bin/bun Browsers: Chromium: 131.0.6778.204 npmPackages: livekit-client: ^2.5.7 => 2.6.0
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: