@sentry/next.js and @sentry/cli failing after Next.js 12.2.0 upgrade
See original GitHub issueIs there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
SDK Version
7.5.0
Framework Version
7.5.0
Link to Sentry event
No response
Steps to Reproduce
After upgrading to Next.js 12.2.0, webpack plugin withSentryConfig
seems to fail when CLI tries to update and upload source maps.
Expected Result
CLI is expected to recognize Node.js modules.
Actual Result
Getting this error
even if all those modules are already skipped on non-server builds.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Next.js - Sentry Documentation
On this page, we get you up and running with Sentry's SDK, so that it will automatically report errors and exceptions in your...
Read more >Can not run server after add sentry to nextjs project
The solution to this problem is, upgrade next.js to >= 10.0.8 github.com/getsentry/sentry-javascript/issues/3724.
Read more >@next/bundle-analyzer - npm
Use `webpack-bundle-analyzer` in your Next.js project. Latest version: 13.1.1, last published: 2 days ago. Start using @next/bundle-analyzer in your project ...
Read more >Package List — Spack 0.20.0.dev0 documentation
A package universe and a request to install, remove, or upgrade packages have to be encoded in the CUDF format. Such a CUDF...
Read more >Compare Packages Between Distributions - DistroWatch.com
Often times it is useful to be able to compare the versions of different packages between two ... dbus-next 0.2.3 ... JavaScript-Minifier-XS 0.150.0...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://github.com/vercel/next.js/issues/36776 for more details. Yeah we don’t support middleware at the moment, this is being tracked here: https://github.com/getsentry/sentry-javascript/issues/4206
Bug reported was fixed on Next.js 12.2.1 by this changed https://github.com/vercel/next.js/pull/38234