Skip to content

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:

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