Skip to content

Next 15 upgrade causes external warning with require-in-the-middle #15456

@dcramer

Description

@dcramer
 ⚠ ./node_modules/.pnpm/@sentry+node@9.1.0/node_modules/@sentry/node/build/cjs/sdk
Package import-in-the-middle can't be external
The request import-in-the-middle matches serverExternalPackages (or the default list).
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install it into the project directory by running npm install import-in-the-middle from the project directory.

9.1.0

Seems to happen on any Next 15 upgrade per my two attempts, and happens with our standar instrumentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions