-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Updating the material ui to the latest version of @material-ui/core missing the files MuiThemeProvider.js #17900
Comments
Can you give an example of how you import the |
import MuiThemeProvider from '@material-ui/core/styles/MuiThemeProvider' And also this just did not happen for me alone. The other developers within the team also faced the problem. |
import { MuiThemeProvider } from '@material-ui/core/styles'; or import { MuiThemeProvider } from '@material-ui/core'; |
Thank you. |
We might want to introduce MuiThemeProvider back with a warning, it would be less disruptive even if people should never import more than 2 levels deep:
Also, as MuiThemeProvider is no longer documented since v4.0.0, we might as well encourage |
I removed my node_modules folder and did a fresh install of the @material-ui/core. Realized that it missed the files MuiThemeProvider.js and MuiThemeProvider.d.ts
I am having compilation problems as this is missing MuiThemeProvider.
Context 🔦
npm install @material-ui/core
run the above command and it installed the version 4.5.1 but it missed the files required for MuiThemeProvider and so my code is having compile problems
The text was updated successfully, but these errors were encountered: