前言:用git提交代码到git,完整报错:
error Command "husky-run" not found. git 未能顺利结束 (退出码 1) (875 ms @ 2023/6/24 19:05:32)
原因:估计是项目中的eslint导致的这个问题。
解决方案:执行强制提交,请在项目根目录打开终端运行:
rm -rf .git/hooks
然后重新提交即可。
- quot husky-run Command error huskyquot husky-run command error husky-run pyautogui command errored python application command running error command项目failed error quot command exited build quot egg_info错误command quot system nginx error quot error error_description description expire_nodest_conn quot error expire