'How do i resolve issue with material-ui import?

On compile I get an error:

export 'internal_resolveProps' (imported as 'resolveProps') was not found in '@mui/utils'

and it is shown two times, one with MUI Button and the second with ThemeProps.

Both errors are followed by a message (possible exports: ...... )

In dependencies is evething that I supose it needs to be:

    "@material-ui/core": "^4.12.3",
    "@mui/icons-material": "5.1.1",
    "@mui/material": "^5.4.4",
    "@mui/private-theming": "5.1.1",
    "@mui/styled-engine": "5.1.1",
    "@mui/styled-engine-sc": "^5.4.2",
    "@mui/system": "5.1.1",
    "@mui/utils": "5.1.1",

Does anyone know what is going on?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source