Ann Knowledge Hub
  • 📚Home
  • Bash
  • 🔀git
  • 🤖AI / ML / Gen AI
    • Generative AI - A Primer
    • Course Notes - Google ML Intro
  • 🎯How To Guides
  • 🔖Good Reference Articles
  • 📳Mobile Development
    • iOS
      • Useful Information
      • Debugging Tricks
      • ViewController Concepts
      • Nullability Annotations
      • UI Testing XCTestUI
      • Xcode Concepts
    • Mobile Application Services
    • AB Testing
    • Firebase
    • Good Articles Blogs
    • iOS Troubleshooting
    • Cocoapods Troubleshooting
  • 💯Miscellaneous
    • Google Calendar API
  • 🌐Web Development
    • 📚Learning Resources
    • 🔎Troubleshooting Issues
Powered by GitBook

About Me

  • My blog
  • GitHub

© 2024 Ann Catherine Jose

On this page

Was this helpful?

Edit on GitHub
  1. Web Development

Troubleshooting Issues

Common issues you would find working with TypeScript, Next.js and how to solve them.

PreviousLearning Resources

Last updated 1 year ago

Was this helpful?

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.

Solution: This is a known issue being discussed in this PR and the correct solution is not available (as of Feb 2024). But there is a workaround - restart the TypeScript server.

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

🌐
🔎
https://github.com/microsoft/TypeScript/issues/43838