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

Smarter auto-inference for JavaScript only repos #280

Open
varungandhi-src opened this issue Sep 4, 2023 · 1 comment
Open

Smarter auto-inference for JavaScript only repos #280

varungandhi-src opened this issue Sep 4, 2023 · 1 comment

Comments

@varungandhi-src
Copy link
Contributor

In some cases, we can still run into the problem where the current auto-inferred tsconfig.json doesn't actually index any JS files. Here's an auto-indexing log showing that:

+ '[' -n 2048 ']'
+ export NODE_OPTIONS=--max-old-space-size=2048
+ NODE_OPTIONS=--max-old-space-size=2048
+ scip-typescript index --infer-tsconfig
error: no files got indexed. To fix this problem, make sure that the TypeScript projects ["/data"] contain input files or reference other projects.

Can we be smarter in inferring the tsconfig.json to avoid this in more cases?

@howinator
Copy link

I would definitely appreciate a fix here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants