bmalehorn / vscode-fish

Fish syntax highlighting and formatting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: spawn Unknown system error -8

jpillora opened this issue · comments

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)

@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?

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