-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: Uncaught TypeError: Refresh.isLikelyComponentType is not a function #26822
Comments
If I run a storybook build, then run that - I get this error:
If I follow the workaround in #21911 it doesn't help with dev mode, but does seem to get unbroken stories to load after build:
Dev mode still doesn't work though. |
Hi @CaptainN Can you provide a reproduction? https://storybook.new |
Weird, it was just the presence of this file in my source tree: src/util/index.ts: export function withGlobalProps(pageProps) {
return {
globalProps: {},
...pageProps,
};
} It wasn't even being imported by anything |
Hi there! Thank you for opening this issue, but it has been marked as |
I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding. |
Describe the bug
Storybook won't load any stories - I get this runtime error:
To Reproduce
I'm really not sure, but here are my configs:
.storybook/main.js:
preview-head.html
System
Additional context
No response
The text was updated successfully, but these errors were encountered: