Skip to main content
Latest news: [[ newestAnnouncement.title ]] Learn more
InVision Support Home Page
Sign in
InVision ambassador ambassador
Aleksandr Litvak
Aleksandr Litvak Updated

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.

2

comments

Sort by

Dan Langston
InVision ambassador Dan Langston , ambassador

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) 

2
Chirag Kular
InVision ambassador Chirag Kular , ambassador

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

0
Mike Siegle
InVision ambassador Mike Siegle , ambassador

Hello everyone, 

It's Mike from InVision. I'm really sorry to hear of these troubles with Storybook 6. 

Sorry for the delay getting back to you here but it looks like you've been on contact with our Support team regarding this issue. 

Thankfully, Storybook V6 is now supported -- examples can be found here: https://github.com/InVisionApp/dsm-storybook-example-library

We've also updated our documentation, including an article for the declarative configuration that’s required in Storybook 6.0 https://support.invisionapp.com/hc/en-us/articles/360048142812
 
Hope this helps clear things up for you. If there's anything else we can help you with, please let us know. 
 
All the best, 
Mike
 
1
Ruth Cheong
InVision ambassador Ruth Cheong , ambassador

When will DSM support MDX story format? 

1

join the conversation

To comment, sign up or sign in.