-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Critical Dependency Warning After Upgrading to @sentry/nextjs v8 #12077
Comments
Hmm, let's see if this: #12081 possibly fixes this 🤔 |
I can also confirm this is going on |
+1 |
This warning can be safely ignored. In theory, the SDK should add an ignore rule for this warning. I wonder why that doesn't work for you 🤔 sentry-javascript/packages/nextjs/src/config/webpack.ts Lines 662 to 669 in 7e59832
Would you mind sharing your next.config.js? Can you try adding the following to your
|
Hi there. I'm using
Is the issue closed because the fix is going to be released in a new version? 🤔 |
@GiancarlosIO It's not really a fix we published but we are ignoring the warning automatically. The code for this is here:
I struggle a bit to understand how this is happening. Would you mind sharing reproduction? Thanks! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.1.0
Framework Version
next 14.2.3
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
Upgrade @sentry/nextjs from v7.113.0 to v8.1.0 and run the project build process
Expected Result
The build process should complete without warnings related to critical dependencies.
Actual Result
After upgrading to @sentry/nextjs version 8, I encountered the following warning in the build logs:
The text was updated successfully, but these errors were encountered: