Open totszwai opened 2 years ago
I had the same issue, couldn't find a way to solve it except reverting version to v3.2.0.
Just ran into this myself while doing regular dependency update maintenance on a codebase. Even 4.0.0
seems to cause this problem. Opted to just stay on 3.2.0.
confirming, the same problem. Reverting to 3.2.0 helps
In my case this solution worked:
yarn add -D @storybook/builder-webpack5
yarn add -D @storybook/manager-webpack5
bump react-scripts
to version ^5.0.1
and adding this to storybook/main.js
:
core: {
builder: 'webpack5',
},
I mainly upgraded/added that preset because Storybook is telling people to add it...
Just upgraded to the latest 4.0.1 and Storybook won't load... it just show the spinning icon with no real helpful error messages...
Version 3.2.0 works, but I don't want to use that version because I need
react-docgen-typescript@2.2.0
...Storybook itself compiles fine with no errors.