# Troubleshooting Issues

## TypeScript shows file not found error in tsconfig.json

Situation: You move or rename a TypeScript file inside VS Code and immediately `tsconfig.json` shows an error 'File xyz.tsx not found.\`

Rootcause: This happens because TypeScript server did not record the move/rename operation.&#x20;

Solution: This is a known issue being discussed in this PR <https://github.com/microsoft/TypeScript/issues/43838> and the correct solution is not available (as of Feb 2024). But there is a workaround - restart the TypeScript server.&#x20;

* In VS Code, open command pallette `Ctrl+Shift+p` and choose the command `Typescript: Restart TS Server`).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.annjose.com/web-dev/troubleshooting-issues.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
