Closed gitowiec closed 4 years ago
https://github.com/yarnpkg/yarn/issues/5476#issuecomment-392995377 node v8.12.0 yarn 1.13.0. scripts postinstall of yarn is ok on my device. '.git/hooks' has been inited.
I had this problem as well. I fixed it with:
node_modules/git-hooks/bin/git-hooks --uninstall && node_modules/git-hooks/bin/git-hooks --install
I changed my project folder and path to
.git/hooks
grew with one path segment. Now sources of every file in.git/hooks
are outdated, there is a line with wrong path:When I trigger my hook with
git commit
I getI run:
Nothing helped What to do?