-
Notifications
You must be signed in to change notification settings - Fork 12
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
ReferenceError: require is not defined at preview.js:1:1 #11
Comments
initially thinking esm compatibility issues maybe? |
React 18 just came out. The storybook team haven’t released a version that is compatible with it, yet. |
storybook is running fine on react 18. edit: nevermind, i am seeing some issue(s) calling for support of React 18 in the Storybook repo. still, i've been running it since it was released however, no issues (other than this add-on). |
Hi, Just going to mention this here. 👋 |
I have updated the plugin to no longer use suspense. Please check the updated README instructions. |
Hey 🤝
![Screen Shot 2022-03-30 at 4 45 21 PM](https://user-images.githubusercontent.com/38232529/160943239-135d5fa1-f5b1-442d-8762-6a895cb76733.png)
So I am getting this error/loading spinner...
Similar to this issue, though the proposed solution there was to remove the addon 😅
After following the docs to add this to my package, i ended up with the following pieces:
package.json
(only relevant pkgs)preview.js
main.js
i18next.js
The text was updated successfully, but these errors were encountered: