When I try to commit a change using SmartGit client I get the following error:
The engine "node" is incompatible with this module. Expected version "12.x". Got "14.15.1"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky - pre-commit hook exited with code 1 (error)
Which is weird 'cause my currently active node version (selected with nvm) is compatible with the expected version. This is what I get in my terminal:
% nvm current
v12.21.0
If I try to commit the same change from the command line everything works fine. How can I tell SmartGit to use the current active version?