Storybook: Warning: Failed prop type: Invalid prop `node.type` supplied to `Props`, expected a ReactNode.

Created on 18 Jun 2017  路  6Comments  路  Source: storybookjs/storybook

My repo: https://github.com/Stupidism/stupid-rc-starter/tree/master/starter

Warning: Failed prop type: Invalid prop `node.type` supplied to `Props`, expected a ReactNode.
          in Props (created by Node)                                                                                    
          in Node (created by Node)                                                                                     
          in div (created by Node)                                                                                      
          in Node (created by Story)                                                                                    
          in pre (created by Pre)                                                                                       
          in Pre (created by Story)                                                                                     
          in div (created by Story)                                                                                     
          in div (created by Story)                                                                                     
          in div (created by Story)                                                                                     
          in div (created by Story)                                                                                     
          in Story                                                                                                      
          in WrapStory
knobs question / support

Most helpful comment

Seeing this issue on "@storybook/[email protected]"

All 6 comments

Same here.

This is happening to me specifically for this addon: "@storybook/addon-info": "^3.1.4". While testing, I had 'add' and 'addWithInfo' mixed together in my stories file and every time the 'addWithInfo' item gets loaded/reloaded for the first time, the warning shows up.

@melkristian @arildplassen & @Stupidism can you test the PR's branch againts your project and see if it's working for you ? Thanks !

Thanks for the fix @thomasbertet !

Seeing this issue on "@storybook/[email protected]"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tirli picture tirli  路  3Comments

shilman picture shilman  路  3Comments

rpersaud picture rpersaud  路  3Comments

MrOrz picture MrOrz  路  3Comments

arunoda picture arunoda  路  3Comments