export 'internal_processStyles' (imported as 'processStyles') was not found in '@mui/styled-engine'

See original GitHub issue

Duplicates

  • 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:

  1. Upgrade to @mui/material at version 5.10.0
  2. I am using also styled-components at version 5.3.5
  3. 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:closed
  • Created a year ago
  • Reactions:6
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Aug 11, 2022

πŸ‘‹ 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.

1reaction
cjones26commented, Aug 9, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found