Title: Cannot find module '@rollup/rollup-darwin-arm64' · Issue #17062 · getsentry/sentry-javascript · GitHub
Open Graph Title: Cannot find module '@rollup/rollup-darwin-arm64' · Issue #17062 · getsentry/sentry-javascript
X Title: Cannot find module '@rollup/rollup-darwin-arm64' · Issue #17062 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/17062
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot find module '@rollup/rollup-darwin-arm64'","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/nextjs\n\n### SDK Version\n\n9.29.0\n\n### Framework Version\n\nNext 14.2.12\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\n_No response_\n\n### Steps to Reproduce\n\nUpgraded 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. \n\nTried with 9.29.0 and with the last one, 9.40.0. We only have the issue on local environnements using Apple machines.\n\n=== SYSTEM ===\nDarwin 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\n\n=== ARCHITECTURE ===\narm64\n\n=== NODE VERSION ===\nv18.18.2\n\n=== NPM VERSION ===\n10.8.2\n\n=== PROCESSOR ===\nApple M1 \n\nNote: 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.\n\n\n### Expected Result\n\nWe expect `npm ci` to correctly install all dependencies and for the local server to start without errors.\n\n### Actual Result\n\nCurrently, we’re getting a 500 error related to `@rollup/rollup-darwin-arm64@4.35.0`, which prevents the app from running locally.\n\n\u003cimg width=\"971\" height=\"401\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/11778d2c-a4e9-4df5-9341-2c7c060d6ad1\" />","author":{"url":"https://github.com/bnteau","@type":"Person","name":"bnteau"},"datePublished":"2025-07-17T14:38:57Z","url":"https://github.com/getsentry/sentry-javascript/issues/17062"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b76248c4-3e26-eba0-065f-bbcfe27152b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3B4:3690E2:2FBDA6:4067F2:6B06182A |
| html-safe-nonce | b462cb600716fb96588550138fa7deb7f54b8a5eef26d88f4fbc04a4459bb238 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0I0OjM2OTBFMjoyRkJEQTY6NDA2N0YyOjZCMDYxODJBIiwidmlzaXRvcl9pZCI6IjcyMzk3MDA4NTcwOTEzOTc2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 31c42dbaa000c65681fe99d776abaf4b0cd443d3354c10bcfc6c32cc7c9f7e1b |
| hovercard-subject-tag | issue:3239843530 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/17062/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db6044f4a866faa77a2e8f70763e99fb7fa640235518927f1578f3959f25afba/getsentry/sentry-javascript/issues/17062 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db6044f4a866faa77a2e8f70763e99fb7fa640235518927f1578f3959f25afba/getsentry/sentry-javascript/issues/17062 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bnteau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width