Follow one of belows
- install pnpm globally
npm install -g pnpm
- remove node_modules reference
rm -rf node_modules
pnpm i
- remove hooks reference
rm -rf .git/hooks
npm install
- config .huskyrc
touch ~/.huskyrc
open ~/.huskyrc
and copy this to opened file
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"