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
Sentry is working on my local but not on production deployed in vercel #6265
Comments
|
Confirm, have a same issue. Downgrade to v7.20.1 resolves the issue.
SDK Version Next.js Version |
Hi, all. Thanks for reporting this! I believe I know what the problem is, and I'm working on a fix. Until then, as you have discovered, downgrading to 7.20 should solve the problem. |
@roblegaspi Hi, we just released version |
Hi @lforst , It is confirmed that |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/nextjs
SDK Version
7.21.0
Framework Version
@sentry/nextjs
Link to Sentry event
No response
Steps to Reproduce
@sentry/nextjs
Expected Result
The page to load with no issue
Actual Result
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.mod._resolveFilename (/var/task/node_modules/next/dist/build/webpack/require-hook.js:27:32)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object. (/var/task/node_modules/@sentry/nextjs/cjs/index.server.js:19:26)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/task/node_modules/@sentry/nextjs/cjs/index.server.js',
'/var/task/.next/server/pages/_document.js',
'/var/task/node_modules/next/dist/server/require.js',
'/var/task/node_modules/next/dist/server/next-server.js',
'/var/task/___next_launcher.cjs'
],
page: '/login'
}
RequestId: e96e7e5e-5f9e-41f6-a3c6-11fa309c3416 Error: Runtime exited with error: exit status 1
Runtime.ExitError
The text was updated successfully, but these errors were encountered: