Content-Length: 263899 | pFad | http://github.com/getsentry/sentry-javascript/pull/16727

C0 feat(nuxt): Add alias for `@opentelemetry/resources` by s1gr1d · Pull Request #16727 · getsentry/sentry-javascript · GitHub
Skip to content

feat(nuxt): Add alias for @opentelemetry/resources #16727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jun 25, 2025

Under certain circumstances, you'll get a "Cannot find module" error in Nuxt dev mode. This is because ESM requires the .js file extensions to make the imports work and there is a tracking issue in OTel to support the ESM spec (which also means adding the file extensions): open-telemetry/opentelemetry-js#4898

Fixes #15204
As the issue is very long, here are some relevant comments:

@s1gr1d s1gr1d merged commit 9659275 into develop Jun 25, 2025
39 checks passed
@s1gr1d s1gr1d deleted the sig/add-alias-for-otel branch June 25, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nuxt: Cannot find module: node_modules\@opentelemetry\resources\build\esm\detectors\platform\node\machine-id\execAsync
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/getsentry/sentry-javascript/pull/16727

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy