code-server
code-server copied to clipboard
[Bug]: ripgrep not getting properly carried around when the remote system is FreeBSD
Is there an existing issue for this?
- [X] I have searched the existing issues
OS/Web Information
- Web Browser: Google Chrome
- Local OS: Arch Linux
- Remote OS: FreeBSD 13.1-RELEASE
- Remote Architecture: amd64
-
code-server --version
: 4.4.0 b088ec7adf9e17bc75215f79e21498eb40da03ed with Code 1.66.2
Steps to Reproduce
- Open code-server
- Press Ctrl-Shift-F to type in any search keyword
- And it gets an error like this
Expected
The ripgrep executable is expected to be present at this place.
Actual
But actually it's not, and users have to manually symlink the system-wide installed instance of ripgrep to that place persumably like this:
$ ln -sf $(which rg) $(yarn global dir)/node_modules/code-server/lib/vscode/node_modules/@vscode/ripgrep/bin
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code?
- [X] I cannot reproduce this in VS Code.
Are you accessing code-server over HTTPS?
- [X] I am using HTTPS.
Notes
No response
Hmm..I've seen this before but can't recall how we fixed it. We'll need to investigate. Thank you!
Thanks for looking into it, @jsjoeio .
Could you please also add this workaround to FreeBSD guide or troubleshooting?
@das-rob3rt certainly!