Fresh Angular + Storybook alpha.38 installation throws warnings
See original GitHub issueTo Reproduce Steps to reproduce the behavior:
- Create a fresh angular project (8.2)
sb init
alpha.38- Start storybook
Expected behavior Should work without warnings
Throws warnings to console
1) Warning: Failed prop type: Invalid prop `options.isToolshown` of type `boolean` supplied to `Layout`, expected `string`.
2) The pseudo class ":first-child" is potentially unsafe when doing server-side rendering. Try changing it to ":first-of-type".
3) Warning: Failed prop type: Invalid prop `Filter` of type `object` supplied to `TreeState`, expected a single ReactElement.
4) Warning: Failed prop type: Invalid prop `List` of type `object` supplied to `TreeState`, expected a single ReactElement.
5) Warning: Failed prop type: Invalid prop `Title` of type `object` supplied to `TreeState`, expected a single ReactElement.
6) Warning: Failed prop type: Invalid prop `Link` of type `function` supplied to `TreeState`, expected a single ReactElement.
7) Warning: Failed prop type: Invalid prop `Leaf` of type `function` supplied to `TreeState`, expected a single ReactElement.
8) Warning: Failed prop type: Invalid prop `Head` of type `function` supplied to `TreeState`, expected a single ReactElement.
9) Warning: Failed prop type: Invalid prop `Section` of type `object` supplied to `TreeState`, expected a single ReactElement
10) Warning: Failed prop type: Invalid prop `Message` of type `function` supplied to `TreeState`, expected a single ReactElement.
System:
- Browser: [chrome]
- Framework: [angular]
- Version: [5.2.0-alpha.38]
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
@types/storybook__react | Yarn - Package Manager
Angular : set the @ViewChild with a non-empty value in StorybookWrapperComponent (#14586); Addon-docs: Fix ArgsTable sorting when using of={Component} ...
Read more >Storybook error when using Webpack5 with Next.JS app + ...
Resolved this by installing webpack. If webpack^5.x.x is not installed, just install with npm i -D webpack@^5.x.x..
Read more >styled-components@5.3.5" has unmet peer dependency ...
Simply installing Storybook HTML with the recommended method causes a ton of dependency warnings to be emitted every time the package manager (Yarn)...
Read more >storybookjs/storybook (Raised $170.00) - Issuehunt
[Bug]: findDOMNode warnings when running storybook ... Angular output events throw error in fresh Storybook 6.5.0-alpha.22 installation.
Read more >The Book Thief - SharpSchool
FRESH AIR, AN OLD NIGHTMARE, AND WHAT TO DO WITH A JEWISH CORPSE ... It probably had more to do with the hurled...
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
In the meantime, one can patch-package a local install with this patch for
@storybook/ui@5.2.0-alpha.40
:@storybook+ui+5.2.0-alpha.40.patch
:@MrBugatti which error are you seeing? This should be fixed by #7405
and this should be fixed by #7408
and this one has been around for awhile #6998