codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

TypeScript LSP crash multiple times

Open MessiInter opened this issue 1 year ago • 1 comments

🐛 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?

  1. 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.
  2. Show the old error even it was fixed.
  3. No static type-checking and autocomplete.
  4. No autocomplete for imports.
  5. No error checking.
  6. Old errors keep showing even it was fixed.

To Reproduce

  1. Create new Devbox (Node.js template).
  2. Modify .devcontainer/(Dockerfile & devcontainer.json) to install pnpm and Nx CLI.
  3. Create a new Nx workspace (Angular standalone template).
  4. Add SSR to the app.
  5. Install Angular Material.
  6. Write Angular code.
  7. 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

MessiInter avatar Jan 06 '24 12:01 MessiInter

Waiting for CodeSandbox to fix this issue.

MessiInter avatar Jan 06 '24 12:01 MessiInter