Skip to content

[3.9.3][Mac] Search errors out with ENOENT #3117

Closed
@heathen711

Description

@heathen711

OS/Web Information

  • Web Browser: Safari
  • Local OS: MacOS 11.3
  • Remote OS: MacOS 10.15.17
  • Remote Architecture: x64
  • code-server --version: 3.9.3 fe2dc2d

Steps to Reproduce

  1. Open project
  2. Search
  3. Try to search for something in the project
  4. Get ENOENT error

Expected

Search to produce results

Actual

Error message (see screenshot)

Screenshot

Screen Shot 2021-04-12 at 2 03 02 PM

Notes

> stat ~/.local/lib/code-server-3.9.3/lib/vscode/node_modules/vscode-ripgrep 
16777224 213605904 drwxr-xr-x 10 local staff 0 320 "Apr 12 13:59:51 2021" "Apr  8 11:32:45 2021" "Apr 12 13:59:54 2021" "Apr  8 11:32:45 2021" 4096 0 0 /Users/local/.local/lib/code-server-3.9.3/lib/vscode/node_modules/vscode-ripgrep
> ls ~/.local/lib/code-server-3.9.3/lib/vscode/node_modules/vscode-ripgrep/bin 
<nothing there>

I deleted the entire code-server install and re-installed and the issue persisted:

> curl -fsSL https://code-server.dev/install.sh | sh
macOS v10.15.7
Homebrew not installed.
Installing standalone release archive v3.9.3 from GitHub releases.

+ Reusing ~/.cache/code-server/code-server-3.9.3-macos-amd64.tar.gz
+ mkdir -p ~/.local/lib ~/.local/bin
+ tar -C ~/.local/lib -xzf ~/.cache/code-server/code-server-3.9.3-macos-amd64.tar.gz
+ mv -f ~/.local/lib/code-server-3.9.3-macos-amd64 ~/.local/lib/code-server-3.9.3
+ ln -fs ~/.local/lib/code-server-3.9.3/bin/code-server ~/.local/bin/code-server

Standalone release has been installed into ~/.local/lib/code-server-3.9.3
Please extend your path to use code-server:
  PATH="$HOME/.local/bin:$PATH"
Then you can run:
  code-server

This issue can be reproduced in VS Code: No

I found other people reporting this but its suppose to be fixed now so reporting it again:
#1907
#1683

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions