Git无法提交,报错


Failed at the ant-design-pro@2.2.1 lint-staged script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/linge/.npm/_logs/2019-02-25T11_06_57_582Z-debug.log

husky > pre-commit hook failed (add --no-verify to bypass)

 

1.备份项目文件

2.把项目的.git目录的hooks文件清空


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM