Library upgrade of react-treebeard to 3.2.0 breaks storybook ui.
See original GitHub issueDescribe the bug Running an upgrade on storybook upgrades react-treebeard dependency to 3.2.0, which breaks storybook/ui.
To Reproduce Steps to reproduce the behavior:
- delete node_modules and package-lock.json
- Run npm install
- run storybook
- Storybook starts, but then immediately becomes a blank page, console shows errors with TreeBeard.
Expected behavior Storybook should start
Screenshots … blank screen
Code snippets … not applicable
System:
- OS: MacOS
- Device: Macbook Pro 2018
- Browser: chrome
- Framework: react
- Version: 1.0.0
Additional context Suggest either changing package.json from “^3.1.0” to “3.1.0” to prevent auto upgrade, OR, fix codebase to work with updated react-treebeard library.
Error:
The above error occurred in the <Container> component:
in Container (created by ContainerDecorator)
in div (created by MenuItem)
in MenuItem (created by ContainerDecorator)
in ContainerDecorator (created by Context.Consumer)
in Unknown (created by NodeHeader)
in NodeHeader (created by TreeNode)
in li (created by Context.Consumer)
in Styled(li) (created by TreeNode)
in TreeNode (created by TreeNode)
in ul (created by Context.Consumer)
in Styled(ul) (created by TreeNode)
in Transition (created by VelocityTransitionGroupChild)
in VelocityTransitionGroupChild (created by VelocityTransitionGroup)
in div (created by TransitionGroup)
in TransitionGroup (created by VelocityTransitionGroup)
in VelocityTransitionGroup (created by Drawer)
in Drawer (created by TreeNode)
in li (created by Context.Consumer)
in Styled(li) (created by TreeNode)
in TreeNode (created by TreeBeard)
in ul (created by Context.Consumer)
in Styled(ul) (created by TreeBeard)
in TreeBeard (created by Stories)
in div (created by Context.Consumer)
in Styled(div) (created by ForwardRef)
in ForwardRef (created by Stories)
in Stories (created by StoriesPanel)
in div (created by Context.Consumer)
in Styled(div) (created by ForwardRef)
in ForwardRef (created by StoriesPanel)
in StoriesPanel (created by Container(StoriesPanel))
in Container(StoriesPanel) (created by storiesPanel)
in storiesPanel (created by Layout)
in div (created by Context.Consumer)
in Styled(div) (created by ForwardRef)
in ForwardRef (created by Layout)
in div (created by Context.Consumer)
in Styled(div) (created by ForwardRef)
in ForwardRef (created by Layout)
in div
in Pane
in div
in SplitPane (created by Layout)
in Layout (created by Layout)
in div (created by Context.Consumer)
in Styled(div) (created by ForwardRef)
in ForwardRef (created by Layout)
in div (created by Layout)
in Unknown (created by Layout)
in Layout (created by Container(Layout))
in Container(Layout)
in div
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Upgrading Storybook
This upgrades all of the Storybook packages in your project to the latest stable version, perform confidence checks of your package versions, and...
Read more >@storybook/react-native-server | Yarn - Package Manager
With Storybook for React Native you can design and develop individual React ... server addons and update all dependencies to use storybook 5.3.20...
Read more >module not found error can't resolve 'fs' in dotenv react
To solve this: Create the .env file at the root level of you app; Name your variables beginning with REACT_APP_ // that's the...
Read more >Demo project for a bug between storybook/ui and react ...
@storybook/ui@^4.0.0 depended on react-treebeard@^3.1.0 — as soon as react-treebeard released version 3.2.0 , storybook v4 started to break ...
Read more >9ae6ecd81d304401287c02b9e6...
6.0.6 (August 14, 2020). Bug Fixes. CLI: Fix upgrade to warn when no packages found (#11993); Addon-docs: Fix blocks type export (#11987) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released: https://github.com/storybooks/storybook/releases/tag/v4.1.18
Closing – please LMK if there are any problems with the release!
Thanks for the heads up. 🙏 I’ll update 4.x this weekend!