-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is 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 SDK are you using?
@sentry/nextjs
SDK Version
9.29.0
Framework Version
Next 14.2.12
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Upgraded from @sentry/nextjs
v7 to v9. The package includes rollup
as a dependency, which have some optional dependencies too, and it seems like @rollup/rollup-darwin-arm64
doesn't work well with Apple Silicon.
Tried with 9.29.0 and with the last one, 9.40.0. We only have the issue on local environnements using Apple machines.
=== SYSTEM ===
Darwin Macmini.lan 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:48:46 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8103 arm64
=== ARCHITECTURE ===
arm64
=== NODE VERSION ===
v18.18.2
=== NPM VERSION ===
10.8.2
=== PROCESSOR ===
Apple M1
Note: We’ve temporarily fixed the issue by adding @rollup/rollup-darwin-arm64
as an optionalDependency in our package.json
, and running npm install --include=optional
to work around the problem.
Expected Result
We expect npm ci
to correctly install all dependencies and for the local server to start without errors.
Actual Result
Currently, we’re getting a 500 error related to @rollup/[email protected]
, which prevents the app from running locally.

Metadata
Metadata
Assignees
Type
Projects
Status