Storybook runs as expected but getting an error in static site #32786
Unanswered
jyarnott19
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am attempting to build a site for developers to explore angular controls we've built for our internal applications. Everything works fine when I locally "npm run storybook" but when I build the static site and serve it, I get this in place of my control:
Error: Cannot read properties of undefined (reading 'selector')
I've used my components in several test applications and they work as expected.
I've tried using components from other npm packages from third parties in my stories and they work just fine in the static site. I've tried integrating storybook into my package projects directly and in a separate project that uses my package. I'm not sure what else to try.
Additional information
I am using storybook 9.1.8
Error: Cannot read properties of undefined (reading 'selector')
My components are using DevExtreme under the hood.
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions