Closed ccalderon9411 closed 2 years ago
I guess that's a similar problem then https://github.com/open-telemetry/opentelemetry-js-contrib/issues/802
As workaround you can set skipLibCheck: true
in your tsconfig.json file.
Another workaround is to use only the instrumentation packages for the modules you are using rather than the auto-instrumentations-node dependency.
I think this is because the types are a devDependency https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json#L59
It seems like this is happening more for some reason. We should probably try to address this in a more systemic way. I can think of some possible solutions:
Transferred to contrib because it is actually an issue with the @opentelemetry/auto-instrumentations-node
package
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stale for 14 days with no activity.
Please answer these questions before submitting a bug report. When I try to complie my monorepo it crush because need some dependecies that I not use.
What version of OpenTelemetry are you using?
0.27.0
What version of Node are you using?
14.17.0
Please provide the code you used to setup the OpenTelemetry SDK
What did you do?
What did you expect to see?
Complete building of the project
What did you see instead?
The error says that I have to install this dependencies: OS: Windows, MacOS
Additional context
I think that problem is in @opentelemetry/auto-instrumentations-node dependency