Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Github 为什么提交钩子被拒绝?_Github_Webstorm_Yarnpkg_Pre Commit Hook - Fatal编程技术网

Github 为什么提交钩子被拒绝?

Github 为什么提交钩子被拒绝?,github,webstorm,yarnpkg,pre-commit-hook,Github,Webstorm,Yarnpkg,Pre Commit Hook,我正在尝试从WebStorm提交代码,提交消息如下: feat: abc-123 xyz-456 获取以下错误: [STARTED] yarn lint [FAILED] yarn lint [ENOENT] [FAILED] yarn lint [ENOENT] [SUCCESS] Running tasks... [STARTED] Applying modifications... [SKIPPED] Skipped because of errors from tasks. [STAR

我正在尝试从WebStorm提交代码,提交消息如下:

feat: abc-123 xyz-456
获取以下错误:

[STARTED] yarn lint
[FAILED] yarn lint [ENOENT]
[FAILED] yarn lint [ENOENT]
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
[SUCCESS] Reverting to original state because of errors...
[STARTED] Cleaning up...
[SUCCESS] Cleaning up...
            
X yarn lint failed without output (ENOENT).
husky > commit-msg hook failed (add --no-verify to bypass)
这个消息有什么问题?我是否缺少任何配置


谢谢。

消息
[FAILED]纱线皮棉[enoint]
看起来皮棉任务失败,这可能是原因