You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created my project in REACT with Typescript. I organized the folders and also the dependencies. Soon after, I added the MUI library following the steps on the website https://mui.com/material-ui/getting-started/installation/
When adding a Button using the import "@mui/material" my project presents the error Module not found: Error: Can't resolve '@mui/material'
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: Module not found: Error: Can't resolve '@mui/material'
The text was updated successfully, but these errors were encountered:
Hey there, did you check your tsconfig.json file ?
sometimes you need to ensure that your tsconfig.json file is configured correctly to include MUI's module paths.
You may need to add "node_modules/@mui" to the include array.
let me know if that helps :)
Steps to reproduce
No response
Current behavior
I created my project in REACT with Typescript. I organized the folders and also the dependencies. Soon after, I added the MUI library following the steps on the website https://mui.com/material-ui/getting-started/installation/
When adding a Button using the import "@mui/material" my project presents the error Module not found: Error: Can't resolve '@mui/material'
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Module not found: Error: Can't resolve '@mui/material'
The text was updated successfully, but these errors were encountered: