You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more:
Error message is somehow related with next-image-stub.js:
Uncaught TypeError: Invalid Version: undefined
at new SemVer (semver.js:19:13)
at compare (compare.js:3:3)
at Object.gt (gt.js:2:29)
at node_modules/storybook-addon-next/dist/images/next-image-stub.js (next-image-stub.js:7:22)
at __require2 (chunk-S5KM4IGW.js?v=7ad206d8:18:50)
at node_modules/storybook-addon-next/dist/preview.js (preview.js:7:1)
at __require2 (chunk-S5KM4IGW.js?v=7ad206d8:18:50)
at dep:storybook-addon-next_dist_preview__js:1:16
As of right now this addon doesn't support the vite builder because nextjs doesn't use vite and it's a lot for just me to maintain just the webpack version :(
Until I can get more help with this package, I can't take on that work :( sorry
Describe the bug
Using storybook-addon-next in combination with builder-vite produces an error once storybook server started.
Reproduce repo link.
I've added instruction to start.
All packages have latest versions.
A warning message:
Error message is somehow related with
next-image-stub.js
:Your minimal, reproducible example
Branch bug:
https://github.com/dvakatsiienko/next-vite-storybook/tree/bug
Steps to reproduce
http://localhost:6006/
Expected behavior
As a user I expect a correctly rendered page.
How often does this bug happen?
Every time
Screenshots or Videos
Screen.Recording.2022-09-23.at.06.36.02.PM.mp4
Platform
storybook-addon-next version
1.6.9
Additional context
No response
The text was updated successfully, but these errors were encountered: