Indexing broken in a specific repository. "Failed to sync file (unexpected)"

I tried reloading, removing the temporary directory, reindexing obviously. Deleting index just produces a spinning circle and no effect, stays so forever. Here’s how the log looks while indexing:

2025-03-18 11:49:31.689 [info] Total number of files to embed: 72
2025-03-18 11:49:31.689 [info] Not aborted
2025-03-18 11:49:31.689 [info] Starting while loop.
2025-03-18 11:49:31.689 [info] fileQueue.length: 72
2025-03-18 11:49:31.689 [info] fileQueue.length: 71
2025-03-18 11:49:31.689 [info] fileQueue.length: 70
2025-03-18 11:49:31.689 [info] Waiting for jobs to finish. currentIndexingJobs.length: 2 concurrentUploads.current: 2 fileQueue.length: 70
2025-03-18 11:49:32.538 [info] Completed job unsuccessfully, will retry: ./README.md error: Failed to sync file (unexpected)
2025-03-18 11:49:32.538 [info] Waiting for jobs to finish. currentIndexingJobs.length: 1 concurrentUploads.current: 1 fileQueue.length: 71

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already

Didn’t find this bug in connection with this log output.

:lady_beetle: Provide a clear description of the bug V
:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)

Not known, unfortunately.

:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4). V
:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).

OSX 14.2.1, Cursor 0.47.7

:prohibited: Tell us if the issue stops you from using Cursor.

It somewhat does, I can not resume working on this repo because of this.

Hey, maybe you should exclude some files from your codebase, like the node_modules packages, if you haven’t done so already.

1 Like

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