npx sb init --builder webpack5
if you get the error Error: Cannot find module 'webpack/lib/util/makeSerializable.js'
after setting up storybook
with above command, check whether you've installed webpack^5.x.x
in dependencies or not.
If webpack^5.x.x
isn't installed, install with npm i -D webpack@^5.x.x
.
Top comments (8)
Thank you very much, it worked :)
Good to hear :)
It worked, thanks
I'm glad it helped :)
Very helpful
I appriciate it
It worked π
That's good!π