-
Notifications
You must be signed in to change notification settings - Fork 651
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
React 16 beta issue #151
Comments
Ok, the issue seems to be linked to a duplicate version of React. Could you update the peer dependency? Thanks! |
@oliviertassinari I'm experiencing this issue as well. Could you please explain what you mean by "update the peer dependency"? As far as I'm aware, all my dependencies are at their latest version |
I am having the same issue with latest versions:
|
React 16 is RC now, so I guess the peer dependencies of this package should be updated to something like
or |
I can't reproduce this error on React v16.0.0-rc3. |
Here's a "fix"
then |
Hmm, not sure that resolves the issue for me. I've never used 'resolutions' before, how does this fix the issue? |
I added the resolutions section as suggested but still getting the same error. |
In my case I was able to work around this by downgrading to react v15.6.1 |
As a workaround I added the following postinstall script:
That removes the |
yarn allows you to use resolutions which means only use one module. In this case, make sure everyone is using react 16 even though they didn't update their package's peer dep |
Closed by #198 :) |
cool! Is there a release coming soon @jquense ? |
and for v1... |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
This is throwing an error:
The behavior can be reproduced on the documentation of Material-UI
What is the expected behavior?
It shouldn't throw an error.
Which versions, and which browser / OS are affected by this issue? Did this work in previous versions?
Also related to facebook/react#10294
The text was updated successfully, but these errors were encountered: