-
Notifications
You must be signed in to change notification settings - Fork 47
Circular dependency #87
Comments
Sounds like an issue with |
|
Hello! I’m from the Azure SDK team. I’m trying to figure out what’s going on. It seems to me that there is a circular dependency indeed. For context, we’ve been using version 0.10.2 of @opentelemetry/api, could there have been a circular dependency in that version? On 0.10.2 we see the following: We’re working on upgrading to version 0.20.0: Azure/azure-sdk-for-js#15672 - based on the folder structure, I believe it may help, but I haven’t been able to confirm (we will in the following days). |
Seems you're right. global-utils.ts depends on the diag API. |
I updated to @opentelemetry/api@1.0.1 which contains the fix for that dependency cycle; however, I see another circular dependency that is unresolved: I believe this is the problem: Rollup errors:
Let me know if you'd rather me open a new issue or if you need any more information! |
I am using this library through
@azure/identity
and is throwing aCircular dependency
warning. I have placed the text warning and picture.I am importing
@azure
libraries as:import * as azureIdentity from '@azure/identity';
import * as appConfig from '@azure/app-configuration';
Warning:
Circular dependency: node_modules\@azure\identity\node_modules\@opentelemetry\api\build\src\index.js -> node_modules\@azure\inode_modules\@opentelemetry\api\build\src\internal\global-utils.js -> node_modules\@azure\identity\node_modules\@opentelemetr Circular dependency: node_modules\@azure\identity\node_modules\@opentelemetry\api\build\src\index.js -> node_modules\@azure\inode_modules\@opentelemetry\api\build\src\internal\global-utils.js -> C:\Users\JBlanco\Documents\MFE - Product\node_modules\\@azure\identity\node_modules\@opentelemetry\api\build\src\index.js Circular dependency: node_modules\@azure\core-http\node_modules\@opentelemetry\api\build\src\index.js -> node_modules\@azure\tp\node_modules\@opentelemetry\api\build\src\internal\global-utils.js -> node_modules\@azure\core-http\node_modules\@opentele Circular dependency: node_modules\@azure\core-http\node_modules\@opentelemetry\api\build\src\index.js -> node_modules\@azure\tp\node_modules\@opentelemetry\api\build\src\internal\global-utils.js -> C:\Users\JBlanco\Documents\MFE - Product\node_modulules\@azure\core-http\node_modules\@opentelemetry\api\build\src\index.js
Any other information needed please let me know.
The text was updated successfully, but these errors were encountered: