Home > OS >  Mui icons doesn't work in React (Basic example Card)
Mui icons doesn't work in React (Basic example Card)

Time:09-24

    C:\Users\Yeap\Documents\react sitio web\my-app\node_modules\react-scripts\scripts\start.js:19
  throw err;
  ^

[Error: ENOENT: no such file or directory, stat 'C:\Users\All Users'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'C:\\Users\\All Users'
}

Sometimes show me a error message in browser localhost, ./src/components/Products.jsx Module not found: Can't resolve '@mui/icons-material/ExpandMore' in 'C:\Users\Yeap\Documents\react sitio web\my-app\src\components'

I tried this (official documentation and github issues)

npm install @material-ui/core
npm install @material-ui/icons
npm install @material-ui/core@next @emotion/react @emotion/styled
npm install @material-ui/icons --force

npm install @mui/material @emotion/react @emotion/styled

But nothing works :(((

This is the code from example "Card MUI" Image working Card MUI example :)

  • Related