Skip to content

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

Closed
@Perdolique

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions