-
Notifications
You must be signed in to change notification settings - Fork 10
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]: Storybook hangs unless reactDocgen: false #198
Comments
I doubt it's a bug of react docgen but I'm not sure without reproduction. Could you helping test the doc that being generated with bisect to filter out what part caused the issue? |
Given that #199 has a reproduction and I don't, should we close this and reopen that one?
I'm not quite sure how to do that. The docgen works fine with vite storybook builder, but has never worked for storybook-rsbuild. |
#199 is resolved and closed, this one is still open due to no reproduction.
At least provide some configurations or what not, the implementation is not the same even for vite builder and webpack builder of the official storybook builders. |
It was only closed as a duplicate of this one though? I don't think it was resolved. main.js
create-storybook-config.js
Where the aliases all look like this: |
It is resolved. It's only similar to this one, not the same, or the two will be closed or leave opened together. |
TBH, I can't see the weird config, I'm afraid you still need to bisect and report the problematic code. Sadly, I can't help out without a reproduction. |
Version
System: OS: macOS 14.6.1 CPU: (10) arm64 Apple M1 Max Memory: 35.30 MB / 32.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 131.0.6778.140 Safari: 17.6 npmPackages: storybook-react-rsbuild: ^0.1.6 => 0.1.6
Details
When running storybook, it never finishes building unless I use
reactDocgen: false
:With DEBUG=*, I just see a ton of babel stuff:
Screen.Recording.2024-12-18.at.2.39.20.PM.mov
It appears to be related to the reactDocgen- when I set
reactDocgen: false
, storybook works fine.Reproduce link
N/A
Reproduce Steps
I'm not sure how to best repro this.
The text was updated successfully, but these errors were encountered: