phiresky/timetrackrs

build failed on Windows

Closed this issue · 1 comments

I tried to install it on Windows, with a new node and yarn installation, and it fails:

error C:\tmp\timetrackrs\frontend\node_modules\husky: Command failed.
Exit code: 1
Command: node husky install
Arguments:
Directory: C:\tmp\timetrackrs\frontend\node_modules\husky
Output:
husky > Setting up git hooks
Cannot read properties of null (reading 'toString')



C:\tmp\timetrackrs\frontend>node --version
v16.13.0

Found the problem. Git was missing. I installed https://gitforwindows.org and run the "yarn install" step from the git shell, which worked.