Skip to content

No matching export in "node_modules/@sentry/node/build/esm/index.js" for import "wrapMcpServerWithSentry" #16275

Closed
@pedroSoaresll

Description

@pedroSoaresll

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/aws-serverless

SDK Version

9.17.0

Framework Version

NodeJS v22.12.0, Serverless Framework 4.14.3

Link to Sentry event

No response

Reproduction Example/SDK Setup

Image

Image

Steps to Reproduce

Image

Expected Result

My tests and serverless build/deploy to pass

Actual Result

Error: R] No matching export in "node_modules/@sentry/node/build/esm/index.js" for import "wrapMcpServerWithSentry"

    node_modules/@sentry/aws-serverless/build/npm/esm/index.js:1:2227:
      1 │ ...hMonitor, withScope, wrapMcpServerWithSentry, zodErrorsIntegrati...
        ╵                         ~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions