-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERESOLVE unable to resolve dependency tree - missing support for [email protected] #15776
Comments
We run into the same problem, it looks like the problem coming from reach-router as a dependency of @storybook/api https://github.com/reach/router/blob/master/package.json |
Lots of others are running into this problem as well. Storybook 6.4 is supposed to be fixing this by removing the offending dependency. More discussion here: #14619 |
Any update on this? I'm running into this same issue. |
@brianpmaher what version of storybook are you using? In 6.4 we moved from reach router to react-router and in 6.5, we're prebundling the router so that it should be invisible to the user. # to try 6.4
npx sb upgrade
# to try 6.5
npx sb upgrade --prerelease Closing this for now since I believe it's already fixed. If not, happy to re-open. |
Ah I was on 6.3, but after upgrading to 6.4 I'm no longer seeing this issue. Thanks 🙏 |
Describe the bug
Project cannot be run if [email protected] is the only react dependency.
When running
npm install
, I get the following error:To Reproduce
Copy and paste this package.json and run
npm install
:System
Please paste the results of
npx sb@next info
here.Additional context
Add any other context about the problem here.
Adding react@16 to package.json seems to work.
The text was updated successfully, but these errors were encountered: