Steps to reproduce
Steps:
- Create a new Vite React app using the React Typescript template
- I Installed MUI V9 and everything was fine:
pnpm add @mui/material @emotion/styled @emotion/react
- I then install Material Icons v9:
pnpm add @mui/icons-material
- Now if you reload the window,
tsconfig.app.json will never finish initializing and it will show an alert saying The JS/TS language service crashed 5 times in the last 5 Minutes.
- If you remove the MUI icons package the issue stops.
My VS Code is on the latest version as well as all my extensions. I also tried disabling all extensions as well.
Downgrading to React 18 and MUI 7 fixes the issue but would love to use the latest version if I can figure out what the issue is.
Current behavior
No response
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: VS Code, TS Server, TS Indexing, MUI, Material UI Icons
Steps to reproduce
Steps:
pnpm add @mui/material @emotion/styled @emotion/reactpnpm add @mui/icons-materialtsconfig.app.jsonwill never finish initializing and it will show an alert sayingThe JS/TS language service crashed 5 times in the last 5 Minutes.My VS Code is on the latest version as well as all my extensions. I also tried disabling all extensions as well.
Downgrading to React 18 and MUI 7 fixes the issue but would love to use the latest version if I can figure out what the issue is.
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfoSearch keywords: VS Code, TS Server, TS Indexing, MUI, Material UI Icons