gatsby-starter-typescript-deluxe icon indicating copy to clipboard operation
gatsby-starter-typescript-deluxe copied to clipboard

Several warnings in Storybook 6.0.13

Open Alfrex92 opened this issue 5 years ago • 2 comments

Thanks again for creating this fantastic repo and for maintaining it.

With the new update of Storybook, there are some warnings:

  • storybook-addon-options is deprecated and will stop working soon
  • configure() is deprecated and will be removed in Storybook 7.0. Please use the stories field of main.js to load stories.`
  • withOptions is deprecated, use addParameters({ options: {} })
  • react_devtools_backend.js:2273 The default hierarchy separators changed in Storybook 6.0. '|' and '.' will no longer create a hierarchy, but codemods are available. Read more about it in the migration guide: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md

You can see the errors here: https://github.com/Alfrex92/animers/ (To run the project use yarn storybook)

Thanks again Justin

Alfrex92 avatar Aug 19 '20 13:08 Alfrex92

Thanks for reporting this and you are welcome 👍 I'll take a look at this and try to get the necessary updates made. Once I do, I'll update this issue so you can make the same changes in your repo. Thanks again!

just214 avatar Aug 19 '20 13:08 just214

Hi! I ran into troubles with this version as well, and Storybook would not load with the repository being what it is right now. What fixed it for me was to simply run npx sb@next upgrade, and the console warnings were gone and Storybook would once again load correctly. Not sure if this fixes all the warnings you mention, but thought I should post it here in case anyone else runs into this same problem.

mariepauline avatar Dec 18 '20 23:12 mariepauline