-
Notifications
You must be signed in to change notification settings - Fork 544
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
Undeclared Dependency: mysql2 → sql-common #1586
Comments
This is also likely a problem for the mysql instrumentation https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-mysql/package.json |
/cc @haddasbronfman |
Actually it looks like this isn't a problem with the code. The repo package.json has the dependency. I'll download the tarball and inspect its package.json to make sure it was properly published. Hopefully we're not seeing a publishing bug. |
Looks like |
|
Likewise seeing with yarn 4.0.0-rc.48
|
This is fixed now I believe. |
Yes it was fixed in this PR #1584 |
What version of OpenTelemetry are you using?
What version of Node are you using?
node:18-bullseye-slim (18.16.1)
What did you do?
Updated to
"@opentelemetry/instrumentation-mysql2": "^0.34.0"
from 0.33.4
What did you expect to see?
App startup as normal
What did you see instead?
Error during startup:
Additional context
Using Yarn 3.6.1 (pnp)
This issue appears to relate to this commit
Workaround is this addition in .yarnrc.yml:
The text was updated successfully, but these errors were encountered: