mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.95k stars 32.27k forks source link

MATERIAL-UI VERSION ^0.17.4 is not working with React v 16.0.0 #6704

Closed aayanqazi closed 7 years ago

aayanqazi commented 7 years ago
ERROR in ./~/react/lib/ReactAddonsDOMDependencies.js
Module build failed: Error: ENOENT: no such file or directory, open 'F:\CROSS PLATFORM NEW\Boiler-Plate-For-All-
Platforms\node_modules\react\lib\ReactAddonsDOMDependencies.js'
    at Error (native)
 @ ./~/react/lib/ReactTransitionGroup.js 22:33-72
ErreMalote commented 7 years ago

How did you downloaded React 16? their lastest says 15.5 https://github.com/facebook/react/releases

aayanqazi commented 7 years ago

packageasas

philipodev commented 7 years ago

Have you tried to use the same version for react-dom?

aayanqazi commented 7 years ago

Yes ... But Warning Shows Material-ui ...

made-aryadinata commented 7 years ago

I got incompatibility issue too.

ERROR in ./~/react-addons-transition-group/index.js
Module not found: Error: Can't resolve 'react/lib/ReactTransitionGroup' in '/Users/aryadinata/apps/node_modules/react-addons-transition-group'
 @ ./~/react-addons-transition-group/index.js 1:17-58
 @ ./~/material-ui/internal/TouchRipple.js
 @ ./~/material-ui/internal/EnhancedButton.js
 @ ./~/material-ui/List/ListItem.js
 @ ./~/material-ui/MenuItem/MenuItem.js
 @ ./~/material-ui/MenuItem/index.js

Cause: react-addons-transition-group is deprecated and will no longer work with React 16+ [ref]

aayanqazi commented 7 years ago

@made-aryadinata Copy ReactTransitionGroup From Old version And paste it on new version it will work :D xD

oliviertassinari commented 7 years ago

Thanks guys for trying out the next version of React with Material-UI!