Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No inputs were found in config file", when looking at some files within node_modules #61060

Open
parris opened this issue Jan 25, 2025 · 0 comments
Labels
Help Wanted You can do this Possible Improvement The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone

Comments

@parris
Copy link

parris commented Jan 25, 2025

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.4
  • OS Version: Darwin arm64 23.5.0

When a node_module bundles in a tsconfig file I'll end up getting this error. Most packages do not do this, it makes sense, the tsconfig is really just for builds. BUT occasionally they do bundle it, and when that happens obviously sources can not be found. I'll contact the offending package, but a built in solution would be nice as well since this is a frequent problem - this happens multiple times per year for me.

Example repo: https://github.com/deca-inc/vscode-repro-issue-238768

Steps to Reproduce:

  1. Make any basic typescript project, with any package manager
  2. Install a package that has a tsconfig.json within it, where the inputs won't be found
  3. Import that node_module then try to "meta/command+click" into the definition of that import

Outcome: A "Problem" appears under the Problem tab. There's no way to make this problem go away unless you close the files and close vscode completely.

Possible solutions:

  1. Don't look for tsconfig files under node_modules ever
  2. Document how to ignore specific offending packages - it's pretty hard to find the answer for this out there on search engines.
@parris parris changed the title "No inputs were found in config file", when looking at any file within node_modules "No inputs were found in config file", when looking at some files within node_modules Jan 25, 2025
@mjbvz mjbvz transferred this issue from microsoft/vscode Jan 27, 2025
@mjbvz mjbvz removed their assignment Jan 27, 2025
@RyanCavanaugh RyanCavanaugh added Help Wanted You can do this Possible Improvement The current behavior isn't wrong, but it's possible to see that it might be better in some cases labels Jan 28, 2025
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted You can do this Possible Improvement The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Projects
None yet
Development

No branches or pull requests

3 participants