-
Notifications
You must be signed in to change notification settings - Fork 27k
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 issues #52620
Comments
We cannot recreate the issue with the provided information. Please add a reproduction in order for us to be able to investigate. Why was this issue marked with the
|
@joacub had the same issue after update but was related to sentry plugin |
Having the same issue here as well. This configuration works fine:
Updating |
sorry it doesnt solve the problem of the rawsource |
I have these versions installed
and get the same 'RawSource' of 'require(...)' as it is undefined. error I'm using |
try added |
I can confirm
So I updated from |
Doesn't work for me |
Also experiencing this issue. Started with |
none of the solutions works, updating sentry does not work, there is something in the transpilers that is not working properly after 13.4.10, seems like is not locating the package properly. also there is other issues similar to this one, that can not locate the correct file this maybe related: #52621 |
Having same issues after updating from next@13.4.9 to next@13.4.10, even tried updating sentry like people are suggeting but that also didn't help. |
for everyone having this issue, i had to revert to versions that worked, in my case next = 13.4.7 these versions work |
I also had the same problem. I had to revert the changes to a previous commit and not update Next to next@13.4.10. |
same here, problem started as soon as I update to next@13.4.10 and stopped as soon as I downgrade to 13.4.9 |
FYI, there's beta release of Sentry SDK as mentioned in getsentry/sentry-javascript#8541, please try it out and report if it fixes the problem. |
It looks like the issue occurs since |
This issue has been fixed in Sentry release v7.59.0 |
Anyone has been able to install the new releases?
And |
I can confirm that it works for me:
|
Is this a Next issue or a Sentry issue though? Afaik the Sentry team unsure why the 13.4.10 broke their Webpack import |
I believe the Next team made a change that caused the issue for Sentry. But the Sentry team found a workaround. That explains why upgrading the |
maybe related: 13.4.10 had a change to how/when webpack is loaded: #52587 |
Ah yes this is what I was curious about |
Looks like it is fixed in |
Hi, we (the Next.js team) just wanted to give a minor update here.
To sum it up, Sentry currently relies on some internal parts of Next.js which we cannot guarantee to be stable between releases. This is especially true for Webpack-related changes, which is why we have it mentioned in the docs as:
https://nextjs.org/docs/app/api-reference/next-config-js/webpack So updates (like #52587) could cause an issue like this one. We are working with the Sentry team to address these issues in the future better. Since this is not a Next.js bug, I'm going to close the issue, but feel free to leave your comments/thoughts! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
no response
To Reproduce
no response
Describe the Bug
@wsy/web:dev:partial:docker: at @sentry/nextjs (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/app/[lang]/admin/page.js:33:18)
@wsy/web:dev:partial:docker: at webpack_require (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/webpack-runtime.js:33:43)
@wsy/web:dev:partial:docker: at eval (./src/app/layout.tsx:21:72)
@wsy/web:dev:partial:docker: at (sc_server)/./src/app/layout.tsx (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/app/[lang]/admin/page.js:10142:1)
@wsy/web:dev:partial:docker: at Function.webpack_require (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/webpack-runtime.js:33:43)
@wsy/web:dev:partial:docker: - error TypeError: Cannot destructure property 'RawSource' of 'require(...)' as it is undefined.
@wsy/web:dev:partial:docker: at @sentry/nextjs (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/app/[lang]/admin/page.js:33:18)
@wsy/web:dev:partial:docker: at webpack_require (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/webpack-runtime.js:33:43)
@wsy/web:dev:partial:docker: at eval (./src/app/layout.tsx:21:72)
@wsy/web:dev:partial:docker: at (sc_server)/./src/app/layout.tsx (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/app/[lang]/admin/page.js:10142:1)
@wsy/web:dev:partial:docker: at Function.webpack_require (/Users/johan/dev-projects/weshipyou-monorepo/apps/web/.next/server/webpack-runtime.js:33:43)
@wsy/web:dev:partial:docker: digest: "3742216727"
Expected Behavior
working
Which browser are you using? (if relevant)
no response
How are you deploying your application? (if relevant)
no response
The text was updated successfully, but these errors were encountered: