New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error migrating from 6.3 to 6.4 or 6.5: undefined is not an object (evaluating 'element.options[VALUES]') #16985
Comments
Do you a have a reproduction repo you can share? If not, can you create one? See how to create a repro. Thank you! 🙏 |
Michael (@shilman) I tried to create a repro with several levels of reduced complexity and though was able to reproduce the issue am not convinced the issue is not caused by specifics of our project so I invited you as an outside collaborator. Hopefully we can find the issue and fix/document it to help others. |
Hi @mphstudios are you on our Discord https://discord.gg/storybook? I'm able to access the repo but unable to install due to some private npm packages. |
Hi, just a quick note that we have the same problem: a storybook setup with webpack5 and vue2. Trying out the new storyStoreV7 will result in a error However, just switching to vue3 and @storybook/vue3 will make it magically work ! |
I'm seeing a similar issue with Angular 12 or 13 storybook/docs 6.4.13 and 6.5.alpha.21 All I have to do is take a standard setup, create 6 stories (duplicates are fine) and I see the freeze. I created this repo for another bug, but you can pull it down and add 5 stories to one of the story files and you should be able to see the issue. https://github.com/DaveMBush/demo-workspace |
Hi guys! Any news on this issue? We have thousands of stories in Vue2 all with storiesOf API and we started converting in CSF3 format. Since then, our storybook cold start is twice as slow in the browser and our a11y tests with storyshots-puppeteer are much much slower. It happens because when With the storyStoreV7, this event is not emitted but we are stuck with this issue. |
Michael (@shilman), can you please check my previous comment (#16985 (comment)). It looks like that Vue2 users are left behind and can't use storyStoreV7 and all the optimisations that come with it. For now and for us, switching all our stories in CSF3 is not an option because of serialization of all the args. I was hoping that switching to storyStoreV7 fix that performance issue but can't because of this current issue. Do you still need a reproduction repo? Thank you. |
This merged PR #18375 should fix the issue with Vue2 and storyStoreV7 |
@prashantpalikhe Yes I can confirm that version 6.5.7 fixes this issue. Thank you very much! And thank you @yannbf for the PR! |
Describe the bug
Migrating from Storybook 6.3 to 6.4 or to 6.5-alpha throws
undefined is not an object (evaluating 'element.options[VALUES]')
System
Additional context
./storybook/main.js
The text was updated successfully, but these errors were encountered: