You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/rollup-darwin-arm64@4.35.0, which prevents the app from running locally.
Reacted by Valentin Fily, Lukasz Sawicki, Brady Doll and vsubbotskyy
Hi, just to rule out a weird local state, have you tried removing node_modules and installing dependencies fresh? Looks like this helped in a similar report (sveltejs/language-tools#2278).
The other change we did with NextJS and rollup recently was #17010 which went out with 9.39.0. This now also allows for newer rollup versions to be installed so this could contribute to the problem. I already see one upvote to this issue, so I'm wondering if more people are affected by this problem
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Activity
linear commentedon Jul 17, 2025
JS-744 Cannot find module '@rollup/rollup-darwin-arm64'
Lms24 commentedon Jul 17, 2025
Hi, just to rule out a weird local state, have you tried removing
node_modulesand installing dependencies fresh? Looks like this helped in a similar report (sveltejs/language-tools#2278).The other change we did with NextJS and rollup recently was #17010 which went out with 9.39.0. This now also allows for newer rollup versions to be installed so this could contribute to the problem. I already see one upvote to this issue, so I'm wondering if more people are affected by this problem
getsantry commentedon Aug 21, 2025
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label
Waiting for: Community, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀