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