export 'internal_processStyles' (imported as 'processStyles') was not found in '@mui/styled-engine'
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior π―
The React app wonβt start as this error pops up when I run yarn start on my project with the latest version of @mui/material (5.10.0). The error I am seeing is:
Compiled with problems:X
ERROR in ./node_modules/@mui/system/esm/createStyled.js 106:4-17
export 'internal_processStyles' (imported as 'processStyles') was not found in '@mui/styled-engine' (possible exports: GlobalStyles, StyledEngineProvider, ThemeContext, css, default, keyframes)
Expected behavior π€
My React app should compile without errors.
Steps to reproduce πΉ
Not completely sure where this error is arising from.
Steps:
- Upgrade to
@mui/materialat version 5.10.0 - I am using also
styled-componentsat version 5.3.5 - In my tests, it points that the error is coming from here
import { createTheme } from '@mui/material/styles';
Context π¦
I just got an update of @mui/material from dependabot and all my tests are failing. I am just trying to upgrade this dependency.
Your environment π
npx @mui/envinfo
System:
OS: Linux 5.15 Ubuntu 20.04.4 LTS (Focal Fossa)
Binaries:
Node: 17.9.0 - ~/.nvm/versions/node/v17.9.0/bin/node
Yarn: 1.22.18 - ~/.nvm/versions/node/v17.9.0/bin/yarn
npm: 8.5.5 - ~/.nvm/versions/node/v17.9.0/bin/npm
Browsers:
Chrome: 104.0.5112.79
Firefox: 103.0
npmPackages:
@mui/base: 5.0.0-alpha.92
@mui/material: ^5.10.0 => 5.10.0
@mui/private-theming: 5.9.3
@mui/styled-engine-sc: 5.4.2
@mui/system: ^5.10.0 => 5.10.0
@mui/types: 7.1.5
@mui/utils: 5.9.3
@mui/x-data-grid: 5.15.1
@mui/x-data-grid-pro: ^5.15.1 => 5.15.1
@mui/x-license-pro: ^5.15.0 => 5.15.0
@types/react: ^17.0.40 => 17.0.40
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
styled-components: ^5.3.5 => 5.3.5
typescript: ^4.7.4 => 4.7.4
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:18 (5 by maintainers)
Top Results From Across the Web
'makeStyles' is not exported from '@material-ui/core/styles ...
I recently encountered this problem. This problem occurs when using the latest versions of Material UI. To solve you have to import makeStyles...
Read more >@mui/styled-engine - Material UI
@mui/styled-engine. Configuring your preferred styling library. The default style library used for generating CSS styles for MUI components is emotion.
Read more >New Material-UI v5 not working with styled-components and ...
when doing: import { ThemeProvider } from "@mui/material/styles";. I added to my tsconfig.json : "paths": { "@mui/styled-engine": [ ".
Read more >mui-bueno - npm
There are no other projects in the npm registry using mui-bueno. ... JavaScript modules (import/export) β Which framework does your project use?
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 Free
Top 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
π Thanks for using MUI Core!
We use GitHub issues exclusively as a bug and feature requests tracker, however, this issue appears to be a support request.
For support, please check out https://mui.com/getting-started/support/. Thanks!
If you have a question on Stack Overflow, you are welcome to link to it here, it might help others. If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.
Same issue here β we didnβt change anything on our end so it appears that itβs a transitive dependency which is likely causing the issue.