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
WARN Sentry Logger [warn]: Failed to register ESM hook Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/@opentelemetry/instrumentation/hook.mjs' imported from /var/task/node_modules/@sentry/node/esm/sdk/initOtel.js
at finalizeResolution (node:internal/modules/esm/resolve:269:11)
at moduleResolve (node:internal/modules/esm/resolve:937:10)
at moduleResolveWithNodePath (node:internal/modules/esm/resolve:1161:14)
at defaultResolve (node:internal/modules/esm/resolve:1204:79)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at ModuleLoader.resolve (node:internal/modules/esm/loader:345:35)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
at ModuleLoader.import (node:internal/modules/esm/loader:315:34)
at Hooks.register (node:internal/modules/esm/hooks:165:53) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///var/task/node_modules/@opentelemetry/instrumentation/hook.mjs'
}
Configuration
My current netlify.toml looks like this, the included_files is attempting to fix the issue. Please see the referenced issue in the description above for more details.
Describe the bug
I am opening this issue to cross-reference this issue from the Sentry organisation: getsentry/sentry-javascript#12603
Steps to reproduce
npx astro add @sentry/astro
(see more docs here)Configuration
My current netlify.toml looks like this, the included_files is attempting to fix the issue. Please see the referenced issue in the description above for more details.
Deploy logs
No deploys are failing.
The text was updated successfully, but these errors were encountered: