joeykamsteeg / vscode-git-flow

Manage your git repository with this Visual Studio Code git flow extension
https://marketplace.visualstudio.com/items?itemName=PsykoSoldi3r.vscode-git-flow
15 stars 2 forks source link

Ubuntu 20.04, Error: spawnSync /bin/sh ENOENT #13

Open omedvedew opened 2 years ago

omedvedew commented 2 years ago

Hi! Have a problem with basic usage like refresh or start feature after installing extension. image

Note: directory exists image

Can someone help to fix it?

Serhioromano commented 2 years ago

What is your repository directory? Try to place it in a directory of WSL inside /home/user and open VS Code WSL remote. If you open folder in windows FS and use WSL CLI that might cause some problems. Also sh -c might not work with folders longer that 8 chars.

Try this extension https://marketplace.visualstudio.com/items?itemName=Serhioromano.vscode-gitflow

If error persists it means that reason is your environment configuration.