Encountering ‘ENOENT’ Error with ‘rgArm’ in Cursor IDE Remote Development Environment

Dear Cursor Support Team,

I am experiencing an issue with Cursor IDE’s remote development environment. When attempting to search for files, I encounter the following error:

spawn /Users/admin/.cursor-server/cli/servers/Stable-fe574d0820377383143b2ea26aabae28b3425220/server/node_modules/@vscode/ripgrep/bin/rgArm ENOENT

This error suggests that the system is unable to locate the ‘rgArm’ file.

Steps Taken:

Steps Taken:

  1. Verified ‘ripgrep’ Installation: Confirmed that ‘ripgrep’ is installed on both the local and remote machines.

  2. Created Necessary Directories and Symbolic Links:

• Executed the following commands to create the required directories and symbolic links:

sudo mkdir -p ‘/Users/admin/.cursor-server/cli/servers/Stable-fe574d0820377383143b2ea26aabae28b3425220/server/node_modules/@vscode/ripgrep/bin’

sudo ln -sf /opt/homebrew/bin/rg ‘/Users/admin/.cursor-server/cli/servers/Stable-fe574d0820377383143b2ea26aabae28b3425220/server/node_modules/@vscode/ripgrep/bin/rg’

• Verified the symbolic link:

ls -l ‘/Users/admin/.cursor-server/cli/servers/Stable-fe574d0820377383143b2ea26aabae28b3425220/server/node_modules/@vscode/ripgrep/bin/rg’

lrwxr-xr-x 1 root staff 20 Jan 8 23:08 /Users/admin/.cursor-server/cli/servers/Stable-fe574d0820377383143b2ea26aabae28b3425220/server/node_modules/@vscode/ripgrep/bin/rg → /opt/homebrew/bin/rg

  1. Cleared Cursor Server Cache:

• Removed the server cache using:

rm -rf ~/.cursor-server/cli/servers/Stable-*

  1. Restarted Cursor IDE:

• Ensured that Cursor IDE was completely closed and then restarted.

  1. Adjusted Permissions:

• Changed ownership and permissions of the .cursor-server directory:

sudo chown -R $USER:$USER ~/.cursor-server

chmod -R 755 ~/.cursor-server

  1. Checked Directory Permissions: Verified that the current user has the necessary permissions to create symbolic links in the target directory.

Additional Information:

Operating System: macOS 15.2

Cursor IDE Version: 0.44.11

I have reviewed the Cursor documentation on common issues but have not found a solution to this specific problem.

Could you please provide guidance on how to resolve this ‘ENOENT’ error related to ‘rgArm’ in the remote development environment? Any assistance would be greatly appreciated.

Thank you for your support.

I have the same error.
Using cursor on a windows machine with a remote session to a macOS machine.

Looking on the remote machine, I see the executable is called rg not rgArm that cursor expected. I hope that info helps in fixing it.

I have same