code-server icon indicating copy to clipboard operation
code-server copied to clipboard

[Bug]: ripgrep not getting properly carried around when the remote system is FreeBSD

Open rowheel opened this issue 2 years ago • 3 comments

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

  1. Open code-server
  2. Press Ctrl-Shift-F to type in any search keyword
  3. And it gets an error like this

image

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

rowheel avatar May 22 '22 05:05 rowheel

Hmm..I've seen this before but can't recall how we fixed it. We'll need to investigate. Thank you!

jsjoeio avatar May 23 '22 18:05 jsjoeio

Thanks for looking into it, @jsjoeio .

Could you please also add this workaround to FreeBSD guide or troubleshooting?

rowheel avatar May 24 '22 08:05 rowheel

@das-rob3rt certainly!

jsjoeio avatar May 24 '22 16:05 jsjoeio