bmalehorn / vscode-fish

Fish syntax highlighting and formatting
MIT License
65 stars 7 forks source link

Error: spawn Unknown system error -8 #31

Closed jpillora closed 1 year ago

jpillora commented 1 year ago

image

2022-11-28 10:58:34.209 [info] ExtensionService#_doActivateExtension bmalehorn.vscode-fish, startup: false, activationEvent: 'onLanguage:fish'
2022-11-28 10:59:07.969 [error] [bmalehorn.vscode-fish] provider FAILED
2022-11-28 10:59:07.969 [error] Error: spawn fish_indent ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
bmalehorn commented 1 year ago

@jpillora This error says the fish_indent executable does not exist. This is normally installed along with the fish shell itself. If you open a terminal and type fish --version and fish_indent --version, do both exist? If not, can you try installing them?

jpillora commented 1 year ago

Ah interesting, will investigate

On Wed, 30 Nov 2022 at 7:54 am Brian Malehorn @.***> wrote:

@jpillora https://github.com/jpillora This error says the fish_indent executable does not exist. This is normally installed along with the fish shell itself. If you open a terminal and type fish --version and fish_indent --version, do both exist? If not, can you try installing them?

— Reply to this email directly, view it on GitHub https://github.com/bmalehorn/vscode-fish/issues/31#issuecomment-1331289627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X43FVWHOG5YND34HU6DWKZUP7ANCNFSM6AAAAAASMYUFX4 . You are receiving this because you were mentioned.Message ID: @.***>

jpillora commented 1 year ago

Looks like my PATH wasn't being passed into vscode for some reason. It appears to have resolved now, though not sure what I changed... Thanks anyway :D