'Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'
I'm getting this error when attempting to npm start:
./node_modules/@material-ui/core/esm/Box/Box.js
Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'.
This error occurred during the build time and cannot be dismissed.
Does anyone know what the root cause and how to fix this issue?
Solution 1:[1]
i had the same issue, its a version problem, just type npm i @material-ui/core at terminal, and it should solve the problem!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tunnes |
