Just do IT

思うは招く

Yarn 自体のバージョンを最新にアップグレードをする方法

使っているYarnのバージョンが古いと怒られました。※Mac使用

warning Your current version of Yarn is out of date. The latest version is "1.22.5", while you're on "1.13.0".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash

なにやらコマンドが提示されているが、もっとシンプルにアップグレードする。

$ npm uninstall -g yarn
$ npm install -g yarn

そしてバージョン確認。

$ yarn -v
1.22.10

アップデートできました。