Skip to content

[Nuxt] 'Non-relative paths are not allowed when baseUrl is not set' from @opentelemetry/resources alias #25188

Closed

Description

@erikuit

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

11.5.0

Framework Version

4.5.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://stackblitz.com/edit/nuxt-starter-qqp4cixk

Steps to Reproduce

  1. Create a fresh Nuxt install (4.5.2) with @sentry/nuxt
  2. Add typescript: { typeCheck: true } to nuxt.config.ts
  3. Run pnpm run dev

Expected Result

No vue-tsc errors when starting the dev server

Actual Result

ERROR(vue-tsc)  Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?
FILE  .nuxt/tsconfig.app.json:104:9

  > 104 |         "@opentelemetry/resources/build/src/index.js"

(Same error for .nuxt/tsconfig.shared.json.)

Additional Context

The alias was added here as a workaround for OpenTelemetry's incomplete ESM imports. As far as I can tell v11 no longer brings in @opentelemetry/resources as a dependency so maybe the alias can just be removed? I'd be happy to send a PR if you agree.

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Activity

  1. linear-code commented on Oct 8, 2026

    @linear-code
  2. self-assigned this
    on Oct 8, 2026
  3. chargome commented on Oct 9, 2026

    @chargome
    Member

    @erikuit thanks for reporting!

  4. added a commit that references this issue on Oct 11, 2026
    4132a34
  5. github-actions commented on Oct 12, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #25216, which was included in the 11.7.0 release.

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

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions