-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tsdx create locks up installing react-with-storybook template #1159
Comments
Followup which also suggests sticking to React ^17 - the blah.test produces warnings:
(this is using the 'react' template) |
Just found this PR which I suspect might fix it: |
I've got the same problem creating Tried node version: P.s. Building with the |
I've got the same problem |
Just a bump, same issue here. |
Current Behavior
tsdx create locks up (for as long as I was prepared to wait, 30 mins or more) when installing npm modules if you choose 'react-with-storybook' template. It works fine with 'react'.
npm logs show it is caught in a loop trying to resolve a conflict between react ^17.0.2 from @storybook/addon-actions and react being 18.2.0:
Expected behavior
The 'npm install' phase should complete.
Suggested solution(s)
Fix the version of react dependency to one compatible with StoryBook? I saw a similar issue here when React went 16->17 and StoryBook hadn't caught up.
Additional context
Node 19.1.0, npm 9.1.1 (also failed the same on 14.x / 8.x)
Your environment
The text was updated successfully, but these errors were encountered: