You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Nuxt] 'Non-relative paths are not allowed when baseUrl is not set' from @opentelemetry/resources alias #25188
Create a fresh Nuxt install (4.5.2) with @sentry/nuxt
Add typescript: { typeCheck: true } to nuxt.config.ts
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
linear-code commentedon Oct 8, 2026
JS-3897
chargome commentedon Oct 9, 2026
@erikuit thanks for reporting!
fix(nuxt): Remove @opentelemetry/resources dev alias (getsentry#25216)
github-actions commentedon Oct 12, 2026
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.