Error in circular dependency detection ?
See original GitHub issuePrerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- I am running the latest version
- I checked the documentation (nx.dev) and found no answer
- I checked to make sure that this issue has not already been filed
- I’m reporting the issue to the correct repository (not related to React, Angular or any dependency)
Expected Behavior
External packages with names that starts like an library name in the nx workspace should not be treated like the this lib.
Current Behavior
I have four libs in my monorepo: common, desktop, concept and basiskomponenten. In this monorepo I’m consuming a library “@inova/desktop-api-service” (from a private npm registry). Since I updated from @nrwl/workspace@8.12.11 to the latest I have lint errors where I’m importing objects from “@inova/desktop-api-service”.
Failure Information (for bugs)
ERROR: C:/.../InovaFrontend/libs/common/src/lib/app-context/culture-context/culture-context.service.ts[10, 1]: Circular dependency between "common" and "desktop" detected
nx.json:
lint.json:
tsconfig.json:
Context
Please provide any relevant information about your setup:
> NX Report complete - copy this into the issue template
@nrwl/angular : 9.2.4
@nrwl/cli : 9.2.4
@nrwl/cypress : 9.2.4
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 9.2.4
@nrwl/linter : Not Found
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 9.2.4
@nrwl/web : Not Found
@nrwl/workspace : 9.2.4
typescript : 3.8.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Google Sheets Circular Dependency Detected Error [Easy Fix]
You can face the error “Circular dependency detected” when using virtually any formula. When you encounter this error, the formula used usually exists...
Read more >Circular Dependency Detected Error in Google Sheets ...
The circular dependency detected errors in Google Sheets is due to the formula being within the range you're referring to or because the ......
Read more >NG0200: Circular dependency in DI detected while ... - Angular
Break this loop (or circle) of dependency to resolve this error. This most commonly means removing or refactoring the dependencies to not be...
Read more >Google Sheet Circular Dependency Issue With If Function
When you see the circular dependency detected error displayed in your Google spreadsheet, this means that your formula is referring to a ...
Read more >Avoiding circular dependency errors in DAX - SQLBI
A circular dependency is detected whenever two objects reference each other, in such a way that Power BI cannot process the objects.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the unit test case, that was super for fixing the issue!
@FrozenPandaz is the unit test as repro not sufficient? do you need something more? or can you remove the “blocked: repro needed” label? 😃