Closed nazarEnzo closed 8 months ago
I am experiencing the same issue when the storybook is included. So I wanted to see if the issue is storybook itself and tried this.
npx create-react-app test-app
cd test-app
npx storybook init
After dependencies are installed I get this warning, which might be the reason for this.
We've detected you are running npm 9.6.1
which has peer dependency semantics which Storybook is incompatible with.
In order to work with Storybook's package structure, you'll need to run `npm` with the
`--legacy-peer-deps=true` flag. We can generate an `.npmrc` which will do that automatically.
More info: https://github.com/storybookjs/storybook/issues/18298
? Do you want to run the 'npm7' migration on your project?
+1
node: v18.14.2
npm: 9.5.0
+1
node: v18.16.0
npm: 9.5.1
How to solve this?
TSDX is a dead repo now, best is to use one of the forks.
I use nvm and install v18.0.0 and works fine.
Current Behavior
Installing npm modules
step forreact-with-storybook
template never ends.Expected behavior
Should install dependency
Your environment