Husky hooks are not created after doing yarn or npm install
Husky hooks require git > 2.13.0
Solution
$ sudo yum remove git*
Add IUS CentOS 7 repo
$ sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm sudo yum -y install git2u-all
Check git version after installing git2u-all package
$ git --version git version 2.16.5
Also may need to align your default nvm version with the one you are using :
$ nvm alias default 10.20.1
Otherwise it will run scripts with another default version which might lead to errors.
Troubleshooting
Problem :
N/A: version "N/A -> N/A" is not yet installed.
You need to run "nvm install N/A" to install it before using it.
Solution :
$ nvm alias default 10.20.1
Recent Comments