Material UI V1.0.0-beta.36 TypeError: Cannot read property '@media (min-width:600px)' of undefined
See original GitHub issueExpected Behavior
Work as normal as should be 💃
Current Behavior
After upgrading to Material UI V1.0.0-beta.36 it return me TypeError: Cannot read property '@media (min-width:600px)' of undefined
. Its not happening on beta-35. When I saw the detail it direct me to gutters: theme.mixins.gutters()
. node_modules/material-ui/Toolbar/Toolbar.js:45
Your Environment
Tech | Version |
---|---|
Material-UI | v1.0.0-beta.36 |
React | v16.2.0 |
browser | Chrome |
etc | Mac |
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Material UI V1.0.0-beta.36 TypeError: Cannot read ... - GitHub
After upgrading to Material UI V1.0.0-beta.36 it return me TypeError: Cannot read property '@media (min-width:600px)' of undefined .
Read more >MaterialUI 5 : TypeError: Cannot read properties of undefined ...
Just ran into this myself. You can import createTheme from @mui/material/styles or @mui/system , but they do slightly different things:.
Read more >Troubleshooting - Material UI - MUI
TypeError : Cannot read properties of undefined (reading 'pxToRem'). This error results from trying to access an empty theme. Make sure that you...
Read more >@mui/icons-material | Yarn - Package Manager
@mui/icons-material. This package provides the Google Material Icons converted to SvgIcon components. Installation. Install the package in your project ...
Read more >CHANGELOG.md · 脚本测试11/material-ui - Gitee.com
Build your own design system, or start with Material Design. ... 'lg') // '@media (min-width:600px) and (max-width:1279.95px)' - [sm, lg).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oliviertassinari Sorry I was running beta.30 but this is a recent fix (from Feb 28)
@simoami I don’t have the same code on npm: https://unpkg.com/material-ui@1.0.0-beta.36/styles/createMixins.js