<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimizuka</author_name>
  <author_url>https://blog.hatena.ne.jp/kimizuka/</author_url>
  <blog_title>みかづきブログ・カスタム</blog_title>
  <blog_url>https://blog.kimizuka.org/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>Mac</anon>
  </categories>
  <description>ことの発端 Huskyでpre-commitが設定してあるプロジェクトに対し、SourceTreeからコミットを行った際、 .husky/pre-commit: line 4: yarn: command not found husky - pre-commit hook exited with code 127 (error) というエラーが出てコミットできませんでした。pre-commitを確認してみると、 yarn lintという箇所があり、 yarn が見つからないことが原因のようです。 対策 Atlassianのコミュニティから解決法を見つけました。community.atlassi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kimizuka.org%2Fentry%2F2022%2F05%2F02%2F130441&quot; title=&quot;SourceTreeからコミットを試みるとHuskyのpre-commitでエラーになる（husky - pre-commit hook exited with code 127） 😱 - みかづきブログ・カスタム&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kimizuka/20200928/20200928105039.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-02 13:04:41</published>
  <title>SourceTreeからコミットを試みるとHuskyのpre-commitでエラーになる（husky - pre-commit hook exited with code 127） 😱</title>
  <type>rich</type>
  <url>https://blog.kimizuka.org/entry/2022/05/02/130441</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
