Skip to content
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 when trying to set mockAddonConfigs in main.js #220

Open
davidpmccormick opened this issue Oct 10, 2024 · 3 comments
Open

Error when trying to set mockAddonConfigs in main.js #220

davidpmccormick opened this issue Oct 10, 2024 · 3 comments

Comments

@davidpmccormick
Copy link

Adding the mockAddonConfigs block results in undefined is not iterable (cannot read property Symbol(Symbol.iterator))

Storybook 8.3.5

@bzehetmayer
Copy link

Facing the same issue. Stack is based on nx monorepo + angular + storybook. Storybook version 8.3.2 (Tried to downgrade to version 8.2 same issue happened)

@javier-arellano-appdirect

I have Storybook 8.4.1 and I am facing the same issues

@vascoeduardo
Copy link

I had the same problem. I fixed it by adding an empty array in mockAddonConfigs , i.e.
mockAddonConfigs: { globalMockData: [] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants