-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node_modules/vscode-ripgrep/bin/rg ENOENT #42219
Comments
Can you tell me whether a file exists there at |
|
When do you see that error? Does cmd+p work? Does text search work? |
@chrmarti Any ideas? |
+1 also having this since a week or two. Only appears in my C# project (javascript works fine). Works in insiders build. |
I am also having this issue.
|
+1 For having this problem |
Did it just show up after the 1.19.3 update? Can you try reinstalling or, see whether it works in Insiders? |
And the binary itself seems to exist with the correct permissions. Please try just running it from the command line. |
It just started happening recently, last few days. I am running 1.19.3. I don't know for sure if it was because of the update. Running the command manually seems to work fine. (Though, at the moment, the error has went away for me. I can't get it to trigger.) |
This is happening to me too, but only within multi-root workspaces. The macOS High Sierra - 10.13.2 |
Is anyone seeing this on another OS/version than High Sierra? Since
|
Using High Sierra
Although...
I.e. I don't have any extended file attributes. |
Looks like we might have found the cause. I'm on |
Does removing that attribute help?
|
Just mentioning that I'm also getting this same problem with the same symptoms on Ubuntu 16.04:
|
@hryanjones Does this affect quickopen (ctrl+p), or search (ctrl+shift+f) or both? (please check that it's getting results from all files, not just open ones). How many folders are included in your workspace? |
Only affects quickopen, not search and 719 directories (excluding anything in soft links). $ find src -type d | wc -l
719 |
Thanks, I just meant, how many folders are in your code-workspace file? Because we spawn a separate rg process for each one, and that's the only interesting difference between how quickopen and text search use rg that I can think of. |
Ah, I hadn't actually inspected that file. When I did I found that there were 4 and also some of those folders no longer exist. When I deleted the ones that don't exist it now appears to be working fine. |
Oh, I can repro with a workspace folder that doesn't exist. Thanks! |
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1225 ERR spawn /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/vscode-ripgrep/bin/rg ENOENT: Error: spawn /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/vscode-ripgrep/bin/rg ENOENT, at exports._errnoException (util.js:1050:11), at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32), at onErrorNT (internal/child_process.js:367:16), at _combinedTickCallback (internal/process/next_tick.js:80:11), at process._tickCallback (internal/process/next_tick.js:104:9)
The text was updated successfully, but these errors were encountered: