. Advertisement .
..3..
. Advertisement .
..4..
The error message from tsconfig.json read: no inputs were found in config file. Has anyone encountered the same error? If you know how to solve this please let me know. I appreciate everyone’s help. Thanks in advance.
The cause: The tsconfig.json file that Astro automatically includes caused them to encounter an error “no inputs were found in config file” in VS Code.
Solution: First, VS Code should be restarted. If the above step doesn’t work, add an empty
file.ts
file to the same folder in which thetsconfig.json
file locates. Otherwise, removetsconfig.json
. Unless you intend to use TypeScript in which case you may configure it by addinginclude
to point to the TypeScript files in your project: Fromto