No such file or directory (os error 2)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Grep rg ../src: IO operation on ../src: No such file or directory (os error 2)

Steps to Reproduce

I asked it to move a folder mv src/app/\(main\)/extract src/app/\(main\)/export-api

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.50
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.0-7-generic

For AI issues: which model did you use?

Grok Code

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the report. It looks like after moving the folder the Agent is trying to access the old path.

Please try:

  1. CMD+Shift+P > “Developer: Reload Window” to reload the window
  2. If that didn’t help, reindex the codebase: Cursor Settings > General > “Reindex”

Also let me know:

  • Was the folder actually moved in the filesystem after the mv command?
  • The Request ID of the request where this error occurred (Chat context menu > Copy Request ID)
  • What prompt you used after moving the folder when the error appeared

Tell me if this helped.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.