You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new Blitz project from scratch (blitz new blitz-test) and tried to commit a change. When trying to commit I get the following error message
npm ERR! missing script: lint-staged
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kai/.npm/_logs/2021-04-11T21_02_39_664Z-debug.log
husky - pre-commit hook exited with code 1 (error)
When I change the .husky/pre-commit and .husky/pre-push to use yarn instead of npm the commit works fine.
What is the problem?
I created a new Blitz project from scratch (
blitz new blitz-test
) and tried to commit a change. When trying to commit I get the following error messageWhen I change the
.husky/pre-commit
and.husky/pre-push
to useyarn
instead ofnpm
the commit works fine.What are detailed steps to reproduce this?
blitz new blitz-test
cd blitz-test
Run
blitz -v
and paste the output here:The text was updated successfully, but these errors were encountered: