-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Confusing error message when there is an accidental circular reference in monorepo #61577
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
There is no circular project reference graph here. |
There is one, https://github.com/Jack-Works/reproduce/blob/main/ts-accidental-circular-reference/a/src/index.ts |
I can't repro that behavior either. This is what I get when trying to infer what you were doing: Before running
After running
|
This issue has been marked as "Unactionable" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
@RyanCavanaugh hi! You need to use the VSCode language server. It appears in the language service. (It used to appears in the cli but I cannot find a minimal reproduce for CLI). |
🔎 Search Terms
because it would overwrite input file
🕗 Version & Regression Information
⏯ Playground Link
https://github.com/Jack-Works/reproduce/tree/main/ts-accidental-circular-reference
💻 Code
🙁 Actual behavior
a error message that is not very helpful at
b/tsconfig.json
.🙂 Expected behavior
Despite the error message, tsc should give some helpful information so developers can figure out there is a circular project reference between a and b. Without this kind of information, circular reference is extremely hard to find out in a big monorepo
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: