Skip to content

Module not found: Error: Can't resolve '@sentry/utils' #10266

@simPod

Description

@simPod

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/browser

SDK Version

7.94.1

Framework Version

React 18.2.0

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

  1. Use Yarn v4 with PnP
  2. Build with @sentry/browser and @sentry/react

Expected Result

No errors. v7.93.0 was fine.

Actual Result

Module not found: Error: Can't resolve '@sentry/utils' in '/yarn/global/cache/@sentry-internal-replay-canvas-npm-7.94.1-869cfbb282-10c0.zip/node_modules/@sentry-internal/replay-canvas/esm'

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: browserIssues related to the Sentry Browser SDK
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions