Skip to content

[Nuxt] Cannot find module @opentelemetry/../execAsync imported from @opentelemetry/../getMachineId-darwin.js #15399

@thelafarge

Description

@thelafarge

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

8.55.0

Framework Version

Nuxt 3.15.4

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. npx nuxi@latest init
  2. Run wizard : npx @sentry/wizard@latest -i nuxt --saas --org --project saying yes to everything

Expected Result

No error when running pnpm run dev

Actual Result

Go to http://localhost:3000 and see error 500

In the logs :

[nuxt] [request error] [unhandled] [500] Cannot find module 
./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync' imported from ./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: nuxtIssues related to the Sentry Nuxt SDK

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions