@opentelemetry/instrumentation-hapi TypeError: Cannot set property register of #<Object> which has only a getter #2797
Labels
bug
Something isn't working
pkg:instrumentation-hapi
pkg-status:unmaintained
This package is unmaintained. Only bugfixes may be acceped until a new owner has been found.
priority:p1
Bugs which cause problems in end-user applications such as crashes, data inconsistencies
Uh oh!
There was an error while loading. Please reload this page.
What version of OpenTelemetry are you using?
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.54.0",
"@opentelemetry/instrumentation": "^0.54.0",
"@opentelemetry/instrumentation-amqplib": "^0.43.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.45.0",
"@opentelemetry/instrumentation-express": "^0.44.0",
"@opentelemetry/instrumentation-graphql": "^0.44.0",
"@opentelemetry/instrumentation-hapi": "^0.46.0",
"@opentelemetry/instrumentation-http": "^0.54.0",
"@opentelemetry/instrumentation-ioredis": "^0.44.0",
"@opentelemetry/instrumentation-knex": "^0.41.0",
"@opentelemetry/instrumentation-mongodb": "^0.48.0",
"@opentelemetry/instrumentation-mongoose": "^0.46.0",
"@opentelemetry/instrumentation-tedious": "^0.15.0",
"@opentelemetry/resources": "^1.27.0",
"@opentelemetry/sdk-trace-base": "^1.27.0",
"@opentelemetry/sdk-trace-node": "^1.27.0",
"@opentelemetry/semantic-conventions": "^1.27.0"
What version of Node are you using?
node v22.13.1
What did you do?
I was just instantiating the object to be used with OpenTelemetry
Similar to:
What did you expect to see?
Running without erros
What did you see instead?
Additional context
The error is been triggered from this class:
opentelemetry-js-contrib/plugins/node/opentelemetry-instrumentation-hapi/src/instrumentation.ts
Line 296 in 41d0d4b
The text was updated successfully, but these errors were encountered: