Codebase Indexing - Error: Root directory does not exist

Immediately after creating a new project / ‘codespace’ from a remote github repo, I cannot index the repo. In the Cursor settings I get the error:

Codebase Indexing - Error: Root directory does not exist

The ‘Retry Index’ button is not clickable. It has no effect or implicit action when clicking it.

System details:
Version: 0.36.2
VSCode Version: 1.89.1
Commit: 9a6d781540ba2732cf26551c07629e68121c6580
Date: 2024-07-07T21:57:45.723Z (1 wk ago)
Electron: 28.2.8
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0

1 Like

same problems when using the overleaf extensions.

same. did you find any fix ?

Nope

Any help here?

Hey, if you open the output tab in Cursor (CMD+Shift+U), and open the Cursor Indexing & Retrieval tab, can you let us know what you see there?

I am seeing the following
2025-03-04 15:55:17.944 [info] Doing a startup handshake.
2025-03-04 15:55:17.944 [info] Creating merkle client.
2025-03-04 15:55:17.945 [error] Unhandled error in doUpdate root directory ‘[Overleaf Project Name]’ does not exist
2025-03-04 15:55:17.948 [error] TypeError: Cannot read properties of undefined (reading ‘initWithRipgrepIgnore’)
at Q.initializeMerkleTreeWithRipgrepIgnore (c:\Users\owner\AppData\Local\Programs\cursor\resources\app\extensions\cursor-retrieval\dist\main.js:2:203031)
at Q.getServerStatus (c:\Users\owner\AppData\Local\Programs\cursor\resources\app\extensions\cursor-retrieval\dist\main.js:2:200620)
at async Q.startIndexingRepository (c:\Users\owner\AppData\Local\Programs\cursor\resources\app\extensions\cursor-retrieval\dist\main.js:2:201812)
A related issue on github has the same errors: Is it possible to use a cursor tab in an overleaf workshop? · Issue #2495 · getcursor/cursor · GitHub

Now the chat with single file on overleaf online becomes unavailable.