I'm trying to install mattlewis92's angular 14.0+ calendar, which suggests the use of the command ng add angular-calendar
. However when doing so I got an error:
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c husky install
npm ERR! 'husky' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
I realized that I don't have husky as a dependency so I added it according to husky's docs. Unfortunately after installing husky I got a new error:
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c husky install
npm ERR! husky - .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)
I followed the suggested link above huksy docs/ Recipes/ Custom directory, but I have no common problem as package.json as well as .git and .husky are all in the same directory level -> in my project's root folder.
All suggestions are welcome!