首页 > 编程学习 > 报错 pre-commit hook failed

报错 pre-commit hook failed

发布时间:2022/9/18 18:46:25

提交代码报错

husky > pre-commit (node v14.15.4)
node_modules/.bin/lint-staged: line 12: node: command not found
husky > pre-commit hook failed (add --no-verify to bypass)

 

解决方案:git commit --no-verify -m ''

就可以进行提交了

Copyright © 2010-2022 mfbz.cn 版权所有 |关于我们| 联系方式|豫ICP备15888888号