Sorry, the InVision Help Center does not support Internet Explorer. Please download Microsoft Edge or another modern browser.


InVision ambassador ambassador
Aleksandr Litvak Edited

Support for Storybook v6

I've upgraded storybook to v6.0.21 and @invisionapp/dsm-storybook" to 0.0.133 but upon getting everything figured out I get the following error in my console "Uncaught UnsupportedVersionError: Unsupported @Storybook version (undefined)." When can we expect support for storybook v6 and is there anyway to avoid this error?

This error occurs on 'yarn start-storybook' but 'yarn dsm-storybook preview' seems to build correctly

Also as a side note in the documentation (https://support.invisionapp.com/hc/en-us/articles/360048142812-Declarative-configuration-in-the-DSM-Storybook-integration) there is no "withDsm" and "getDefaultDsmOptions" references in 0.0.133 for @invisionapp/dsm-storybook, I only found getDsmOptions

This post is associated with a known feature request: [[problemTicketSubject]]. Let our Product team know that you’re interested in this feature.

Sign in to add your vote

Thanks for taking the time to share your feedback about making our product better. We’ve let our Product team know that you’re interested in this feature so they can factor that into their product strategy.

comments

sort by


Dan Langston
InVision ambassador Dan Langston , ambassador
Comment actions Permalink

We are getting the same results. It looks like their branch to support v6 is just waiting to be merged on github? - (https://github.com/InVisionApp/dsm-storybook-example-library/tree/storybook-6-support) 

1

Chirag Kular
InVision ambassador Chirag Kular , ambassador
Comment actions Permalink

"getDefaultDsmOptions" is changed to "getDsmOptions". Looked at the github example storybook-6-support

0

join the conversation

to comment, sign up or sign in.