JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

2023-06-24 error Command "husky-run" not found.

发布时间 2023-06-24 19:12:16作者: 哎呦你可棒棒了

前言:用git提交代码到git,完整报错:

error Command "husky-run" not found.

git 未能顺利结束 (退出码 1) (875 ms @ 2023/6/24 19:05:32)

原因:估计是项目中的eslint导致的这个问题。

解决方案:执行强制提交,请在项目根目录打开终端运行:

rm -rf .git/hooks

然后重新提交即可。

    本栏目推荐文章
  • A connection was successfully established with the server but then an error
  • vscode错误:Unable to connect to VS Code server: Error in request.
  • 【解决方案】Error running,Command line is too long
  • 【Leetcode1949. 坚定的友谊】使用MySQL在无向图中寻找{"CompleteTripartite", {1, 1, 3}}这个pattern
  • Python中出现"No module named 'requests'"的图文解决办法
  • fish和pacman:“error: Unable to read input file: 是一个目录”报错的处理
  • 在Windows上出现"localhost拒绝连接”的问题
  • ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password'
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
  • "nginx.conf" E514 : write error (file system full?)
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们