Skip to content

@sentry/nuxt v9.33.0 breaks nitro build with cloudflare-pages preset #16774

Description

@Perdolique

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

9.33.0

Framework Version

Nuxt.js v3.17.5

Reproduction Example/SDK Setup

https://codesandbox.io/p/sandbox/wizardly-lake-fmp7q5

Steps to Reproduce

  1. npm install
  2. npm run build

Expected Result

The project is built.

Actual Result

ERROR  Error: ENOTDIR: not a directory, stat '/project/workspace/node_modules/@opentelemetry/resources/build/src/index.js/build/src/index.js/build/src/index.js/build/src' nitro 10:33:08 AM

undefined

ERROR  ENOTDIR: not a directory, stat '/project/workspace/node_modules/@opentelemetry/resources/build/src/index.js/build/src/index.js/build/src/index.js/build/src'              10:33:08 AM

ERROR  ENOTDIR: not a directory, stat '/project/workspace/node_modules/@opentelemetry/resources/build/src/index.js/build/src/index.js/build/src/index.js/build/src'              10:33:08 AM

I can assume it's related to #15204, because it's okay with v9.31.0 (some warnings, but the project has been built).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions