Skip to content
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

admission.datadoghq.com/js-lib.version 4.15.0 (latest) is causing pods to crash loop #3625

Closed
omarkalloush opened this issue Sep 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@omarkalloush
Copy link

I'm using the following annotation on my pod admission.datadoghq.com/js-lib.version: "latest" and the pods keeps on crash looping with the following error

 /datadog-lib/node_modules/dd-trace/packages/dd-trace/src/plugins/tracing.js:58
     this.activeSpan?.finish()
                     ^

 SyntaxError: Unexpected token '.'
     at wrapSafe (internal/modules/cjs/loader.js:915:16)
     at Module._compile (internal/modules/cjs/loader.js:963:27)
     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
     at Module.load (internal/modules/cjs/loader.js:863:32)
     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
     at Module.require (internal/modules/cjs/loader.js:887:19)
     at Module.Hook.Module.require (/datadog-lib/node_modules/dd-trace/packages/dd-trace/src/ritm.js:85:33)
     at require (internal/modules/cjs/helpers.js:74:18)
     at Object.<anonymous> (/datadog-lib/node_modules/dd-trace/packages/dd-trace/src/plugins/outbound.js:9:23)
     at Module._compile (internal/modules/cjs/loader.js:999:30)

But when I pinned the version to 4.14.0 its working fine.

Environment

  • Operation system: Ubuntu
  • Node.js version: v12.18.3
  • Relevant library versions: v4.15.0
@omarkalloush omarkalloush added the bug Something isn't working label Sep 11, 2023
@omarkalloush
Copy link
Author

This issue apperantly happens because the node version doesn't have the ? method in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant