Codebase Indexing No Longer Working Inside Dev Containers

this worked for me, thx!

Hi, finally i manage how to solve this.

  • Find @anysphere module path for your installation cursor-retrieval plugin
$ pwd
/vscode/cursor-server/bin/linux-arm64/001668006cc714afd397f4ef0d52862f5a095530/extensions/cursor-retrieval/node_modules/@anysphere
  • Move to that directory
  • Identify module version
$ npm list
cursor-retrieval@0.0.1 /vscode/cursor-server/bin/linux-arm64/001668006cc714afd397f4ef0d52862f5a095530/extensions/cursor-retrieval
├── @anysphere/file-service-linux-x64-gnu@0.0.0-30549ed4-6f41e022f7af079ff34c9d09cb1d5d616735c7e31ec0d732af0daec4758069f7 extraneous
└── @anysphere/file-service@0.0.0-30549ed4-6f41e022f7af079ff34c9d09cb1d5d616735c7e31ec0d732af0daec4758069f7 extraneous

In this case will be 0.0.0-30549ed4-6f41e022f7af079ff34c9d09cb1d5d616735c7e31ec0d732af0daec4758069f7

$ export DETECTED_VERSION=0.0.0-30549ed4-6f41e022f7af079ff34c9d09cb1d5d616735c7e31ec0d732af0daec4758069f7
  • Update packages using this version
$ npm install @anysphere/file-service-linux-arm64-gnu@$DETECTED_VERSION --silent
$ npm install @anysphere/file-service@$DETECTED_VERSION --silent

Restart the container and it should work!