The release 2026.04.16-2d20146 ships file_service.darwin-arm64.node but is missing file_service.darwin-x64.node. The bundled Node binary is x86_64 so it requires the x64 native module, which was not included.
Steps to Reproduce
Install cursor-agent on an Intel Mac (x86_64)
Update to version 2026.04.16-2d20146
Run agent (or cursor-agent)
Error fires immediately on startup: Cannot find module '@anysphere/file-service-darwin-x64'
Hey @Randy_Olson – Thanks for the detailed report and the forensic inspection of the install directory – that made it very straightforward to confirm the issue.
We’ve flagged this with our CLI team so the fix can be included in the next release.
The fix requires two edits to the webpack bundle at:
~/.local/share/cursor-agent/versions/*/8975.index.js
What’s wrong: The bundle ships file_service.darwin-arm64.node and has a working dlopen module handler for it, but the
x64 equivalent was omitted. The x64 code path always throws instead of loading the file.
Prerequisites: First download the missing native module:
cd ~/.local/share/cursor-agent/versions//
npm pack@anysphere*/file-service-darwin-x64
tar -xzf anysphere-file-service-darwin-x64-*.tgz --strip-components=1 package/file_service.darwin-x64.node
Then patch 8975.index.js with two edits:
After the arm64 dlopen handler, add an x64 one:
Find: “../file-service/file_service.darwin-arm64.node”:(e,t,n)=>{e=n.nmd(e);try{process.dlopen(e,n(“path”).join(__di
rname,n.p,“file_service.darwin-arm64.node”))}catch(e){throw new Error(“node-loader:\n”+e)}}
Replace with same string + , + “../file-service/file_service.darwin-x64.node”:(e,t,n)=>{e=n.nmd(e);try{process.dlope
n(e,n(“path”).join(__dirname,n.p,“file_service.darwin-x64.node”))}catch(e){throw new Error(“node-loader:\n”+e)}}
Fix the x64 branch to use the module path instead of throwing: