欢迎访问我的博客,目前从事Machine Learning,欢迎交流

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文件清空

posted @ 2019-03-01 17:07  有蚊子  阅读(1470)  评论(0编辑  收藏  举报