ulauncher-vscode-recent icon indicating copy to clipboard operation
ulauncher-vscode-recent copied to clipboard

Opening vscode via vscode-recent makes vscode 'forget' node on commit

Open WandersonAlves opened this issue 4 years ago • 2 comments
trafficstars

When making a commit using vscode Source Control tab, vscode complains about node

image

The error:

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
Yarn requires Node.js 4.0 or higher to be installed.
husky - pre-commit hook exited with code 1 (error)

Using the internal terminal works. Only on Source Control tab this problem occurs.

Some info:

➜ which code    
/usr/bin/code

WandersonAlves avatar Oct 21 '21 18:10 WandersonAlves

@WandersonAlves This seems like a problem with VS Code. Are you saying that the problem only occurs when you use Ulauncher to open the file?

mattalxndr avatar Feb 09 '22 09:02 mattalxndr

Yes, if open my projects in the old way (cd into folder and code .) source control works as expected. If a open via ulauncher, vscode complains about node (only on source code tab). Internal terminal works as expected in both scenarios

WandersonAlves avatar Feb 09 '22 14:02 WandersonAlves