codesandbox-client
codesandbox-client copied to clipboard
TypeScript LSP crash multiple times
🐛 bug report
Preflight Checklist
- [x] I have read the Contributing Guidelines for this project.
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
The TypeScript LSP crash multiple times when using the IDE.
How has this issue affected you? What are you trying to accomplish?
- Because the TypeScript LSP crash so I need to open up the command palette (Super + K). Then choose the '> Instance: Restart TypeScript language server' options to restart the TypeScript LSP.
- Show the old error even it was fixed.
- No static type-checking and autocomplete.
- No autocomplete for imports.
- No error checking.
- Old errors keep showing even it was fixed.
To Reproduce
- Create new Devbox (Node.js template).
- Modify .devcontainer/(Dockerfile & devcontainer.json) to install pnpm and Nx CLI.
- Create a new Nx workspace (Angular standalone template).
- Add SSR to the app.
- Install Angular Material.
- Write Angular code.
- Sometimes TypeScript LSP crash (Show the old code error than crash before fixed).
Link to sandbox: link (optional)
My Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | 0.0.152 |
| Browser | Chrome 115.0.132, 120.0.6099.193 |
| Operating System | Windows 7, Android 12 |
Waiting for CodeSandbox to fix this issue.