You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most relevant bit is that I'm using Sentry.prismaIntegration().
Steps to Reproduce
Install the latest @prisma/client and @sentry/node packages in one project
Notice the error
Expected Result
No errors
Actual Result
Error:
prisma:error this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
healthcheck ❌ {
error: TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309) {
clientVersion: '6.1.0'
}
}
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309)
HEAD / 200 - - 123.095 ms
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.50.0
Framework Version
No response
Link to Sentry event
https://kent-c-dodds-tech-llc.sentry.io/issues/6224735347/?query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=0
Reproduction Example/SDK Setup
https://github.com/epicweb-dev/epic-stack/blob/main/server/utils/monitoring.ts
The most relevant bit is that I'm using
Sentry.prismaIntegration()
.Steps to Reproduce
@prisma/client
and@sentry/node
packages in one projectExpected Result
No errors
Actual Result
Error:
Related: prisma/prisma#25978
The text was updated successfully, but these errors were encountered: