-
Notifications
You must be signed in to change notification settings - Fork 513
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
Pika build monorepo crush because requiere install unused dependencies #878
Comments
I guess that's a similar problem then #802 As workaround you can set |
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 |
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
The text was updated successfully, but these errors were encountered: