Skip to content

Cannot read properties of undefined (reading 'secondary') #24505

Closed Answered by mderazon
mderazon asked this question in Help
Discussion options

You must be logged in to vote

Suggested by @IanVS in the community chat:
This can happen when there are mixed versions of storybook packages. run npx sb info to validate.
If there are no conflicting packages, try removing package-lock.json and node_modules and reinstall.

(Second step solved it for me)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mderazon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant