<?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>Yarn</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>現象 nodenvでNode.jsのバージョンを切り替えながら、yarnしようとすると、 The `yarn’ command exists in these Node versions: 24.5.0と表示される。（いま使っているバージョンにyarnがインストールされていないため） rm -rf /Users/ユーザー名/.anyenv/envs/nodenv/shims/yarnを実行してからyarnを実行すると通るが、ターミナルを閉じるとまた通らなくなる。 解決策 corepack enableで、いま使っているバージョンにyarnを入れてしまうのが一番早い。 関連項目 blog.kim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kimizuka.org%2Fentry%2F2025%2F10%2F14%2F153000&quot; title=&quot;The `yarn&amp;#39; command exists in these Node versions: X.X.X を完全に解決する 💪 - みかづきブログ・カスタム&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/20200826/20200826224940.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-14 15:30:00</published>
  <title>The `yarn' command exists in these Node versions: X.X.X を完全に解決する 💪</title>
  <type>rich</type>
  <url>https://blog.kimizuka.org/entry/2025/10/14/153000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
