React & React-Native versions conflict while installing material-ui
I'm trying to install material-ui on new React-Native project which running react-native: 0.26.2 & react: "15.0.2. when I've installed material-ui npm package I've gotten these errors & warnings:
npm WARN peerDependencies The peer dependency react@^15.1.0 included from react-addons-update will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@^15.1.0 included from react-addons-transition-group will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@^15.1.0 included from react-addons-create-fragment will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "material-ui"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants react@^15.1.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.0-0
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.0
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Ali/Desktop/app/second/npm-debug.log
It seems there is version conflict for using last version of materil-ui with last react-native build.
Is there anyone that realize what can I do ?
@aliajoudanian Material-UI doesn't currently support React Native. There are some references to it in the code from some experimental work that @oliviertassinari did, but nothing more at this stage.
Thanks @mbrookes , Is there any specific plan to support material-ui in near future?
Maybe in the distant future. 😄
Aside from not providing React Native components. It would be good that Material-UI can be installed under the same project with React Native. E.g. what if we want to share some business logic between the React Native app and the React Dom app?
Actually, I don't see why it can't be done right now. Are you sure it's linked to this project?
We don't have a react-addons-update dependency.
Any update on this issue and/or material-ui supporting react-native?