-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
Npm install fails #1712
Comments
@oliviertassinari That doesn't help since the dependency is in material-ui is Which would go up to 0.2.0
|
am getting this. npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements! |
great... thanks. |
got the same erorr |
@shaurya947 Can you have a look? I think that a quickfix is needed here. |
I've merged #1714. The error should go away now. Thanks @oliviertassinari! |
Your welcome. You gonna have to publish a |
Yup, getting on it! |
This is a fix for mui#1712.
i am having the same problem too. |
@dinardln if you pull the latest from master, this issue should have gone away. As for support for v0.14.0-rc1, we're working on it and will try to include it in a new release of Material-UI which is most likely coming today. |
Tried
|
Looking forward to this being pushed to npm! |
I had that problem 3-4 days ago and I included "react-tap-event-plugin": "~0.1.3" in my dependencies in my own project (package.json) and i no longer have that problem since material-ui only requires a version>=0.1.3. edit: this works if you use react 0.13 |
@olivierGM if i do that i get the error |
I am using "react": "~0.13.3" and i am not ready to move to react 0.14 so this fix works for me (react 0.13) but not 0.14... |
+1, a fix for 0.14.* would be lovely 👍 |
+1 for the update to 0.14! |
Does the code from the |
I tried adding it to package.json as |
If I comment out all the pipes to eslint in the |
In case anyone else is down this path, I ended up hitting a wall. The current state of |
@bdefore I get this error when using react 0.13. did you cleaned you node_modules folders before trying the branch? |
@cgestes I've reproduced the refs related error. There's nothing in my code that is using refs. Per the help documentation referenced, it recommends ensuring I don't have mismatching React versions in play, so I've done an npm list for both my root and the material_ui I've build in node_modules: https://gist.github.com/bdefore/a05d3a8254c6dc9ecb8a ... from what I can see everything that's React related is all aligned on 0.14 rc1 |
I'm just starting out with React and wanted to use Material UI. So I'm not sure this is helpful, but here's what I ended up installing, and it resulted in no conflicts... react@^0.13 Obviously I'm using React 0.13 instead of 0.14. |
I got this problem npm ERR! Darwin 14.5.0 npm ERR! peerinvalid The package react@0.14.0-rc1 does not satisfy its siblings' peerDependencies requirements! npm ERR! Please include the following file with any support request: Which version should I use? 0.13 or 0.14?Thank you!!!! |
@BUNNIEHSIEH if you want to use the current stable version of Material-UI, use React 0.13.3. If you want to check out our experimental support branch for React 0.14, get the source code from the |
How can anyone try the react-0.14-support branch with those lint errors? I had to disable them manually as well. |
@bdefore I also had the "ref owner" issue you refer to. As I had built material-ui locally my node_modules looked like your gist. You still have two instances of React - one at the top level and one in "node_modules/material-ui/node_modules" |
excellent @benjeffery thanks! works for me too. |
This should be fixed with the latest release. |
@quantuminformation |
Ah ok, never used them before. |
What is the correct way to go about solving this:
|
@quantuminformation Have a look at our examples: https://github.com/callemall/material-ui/blob/master/examples/webpack-example/package.json. |
@oliviertassinari thx, if I use them I get: npm WARN react-router@1.0.2 requires a peer of history@1.13.x but none was installed. |
@quantuminformation |
That's an issue with react router and history. Not material ui. Install the history version specified not the latest. It's on react routers change log. Sorry I would link but I'm on my phone. |
@quantuminformation Here is the change log for the latest (as of now) version of react-router. |
Bumps [remark-slug](https://github.com/remarkjs/remark-slug) from 5.1.2 to 6.0.0. - [Release notes](https://github.com/remarkjs/remark-slug/releases) - [Commits](remarkjs/remark-slug@5.1.2...6.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
React-tap-event-plugin requires higher version of react.
npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer reapp-kit@1.2.15 wants react@0.13.x npm ERR! peerinvalid Peer react-tap-event-plugin@0.1.9 wants react@^0.14.0-0 npm ERR! peerinvalid Peer material-ui@0.11.1 wants react@>=0.13
The text was updated successfully, but these errors were encountered: