-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
I ran into an incomprehensible bug when I used [email protected] #8653
Comments
@redchili-source Can you try forcing it to use "5.2.4" instead of "^5.2.4"? I suspect it is due to #8445, which I probably need to revert. Please let me know if that solves it, and I can release the fix in 5.2.6! |
ok , wait a moment, I will try . |
@shilman It's not ok , I use "5.2.4" "@storybook/addon-actions": "5.2.4",
"@storybook/addon-links": "5.2.4",
"@storybook/addons": "5.2.4",
"@storybook/react": "5.2.4", |
Still broken? Can you go back until it works and tell me which version broke it? 🙏🙏🙏 |
I just go home , I mentioned it in the issue title, " It workd when I used [email protected] " . |
"@babel/preset-typescript": "^7.6.0", |
Does it work in 5.2.2? 5.2.3? Or can you provide a minimal reproduction so I can test it myself? |
@shilman How can I install this version 5.2.2 or 5.2.3 ? I try the commeder "npx -p @storybook/[email protected] sb init" , but I still get the lastet version . |
@shilman ok , I will release this component so that you can test it . |
You can just edit
Then run NOTES:
|
OK , I will try it . This is my component package, you can test it . @redchili/search-bar |
I have tried it use 5.2.2 ~ 5.2.4 , but just 5.2.1 can be used. |
@shilman I'm sorry, I think that error of my component is caused by the new version 16.11 of react. |
Describe the bug
I have a storybook for my searchBar component, It will cause an error when I used [email protected], but everything is normal when I used [email protected] .
This bug is like this:
Code snippets
My SearchBar components is this:
index.tsx
index.scss
search_bar.stories.tsx
Expected behavior
It's also normal when I used [email protected] , just like I used [email protected] .
Screenshots
If applicable, add code samples to help explain your problem.
System:
Please paste the results of
npx -p @storybook/cli@next sb info
here.System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Binaries:
Node: 13.0.1 - ~/.nvm/versions/node/v13.0.1/bin/node
Yarn: 1.19.1 - ~/.yarn/bin/yarn
npm: 6.12.0 - ~/.nvm/versions/node/v13.0.1/bin/npm
Browsers:
Chrome: 78.0.3904.70
Firefox: 68.0
Safari: 13.0.3
npmPackages:
@storybook/addon-actions: ^5.2.4 => 5.2.5
@storybook/addon-info: ^5.2.4 => 5.2.5
@storybook/addon-links: ^5.2.4 => 5.2.5
@storybook/addons: ^5.2.4 => 5.2.5
@storybook/react: ^5.2.4 => 5.2.5
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: