info esbuild-android-arm64@0.13.8: The platform "darwin" is incompatible with this module.　の対応

yarn: `1.22.15`
node: `14.19.0`
angular: `12.2.16`

# 概要
Angularプロジェクトで、
yarn installしたら以下のようなメッセージ（エラーではない）が出た。

```
yarn install v1.22.15
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info esbuild-android-arm64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-android-arm64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-android-arm64@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-darwin-arm64@0.13.8: The CPU architecture "x64" is incompatible with this module.
info "esbuild-darwin-arm64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-freebsd-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-freebsd-arm64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-32@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-32@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-32@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-arm@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-arm64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-arm64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm64@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-mips64le@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-mips64le@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-mips64le@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-ppc64le@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-linux-ppc64le@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-ppc64le@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-netbsd-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-netbsd-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-openbsd-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-openbsd-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-sunos-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-sunos-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-32@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-windows-32@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-32@0.13.8: The CPU architecture "x64" is incompatible with this module.
info esbuild-windows-64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-windows-64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-arm64@0.13.8: The platform "darwin" is incompatible with this module.
info "esbuild-windows-arm64@0.13.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-arm64@0.13.8: The CPU architecture "x64" is incompatible with this module.
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 12.79s.
```

なぜMac環境なのに、linuxなどをインストールしているのか。。

# 結論
yarnのバージョンを最新（1.22.17）にしたら出なくなった。

# おまけ
yarn.lockでesbuildのdependencyを見ると、確かにoptionalではあるものの含まれている。

```
esbuild@0.13.8:
  version "0.13.8"
  resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.13.8.tgz#bd7cc51b881ab067789f88e17baca74724c1ec4f"
  integrity sha512-A4af7G7YZLfG5OnARJRMtlpEsCkq/zHZQXewgPA864l9D6VjjbH1SuFYK/OSV6BtHwDGkdwyRrX0qQFLnMfUcw==
  optionalDependencies:
    esbuild-android-arm64 "0.13.8"
    esbuild-darwin-64 "0.13.8"
    esbuild-darwin-arm64 "0.13.8"
    esbuild-freebsd-64 "0.13.8"
    esbuild-freebsd-arm64 "0.13.8"
    esbuild-linux-32 "0.13.8"
    esbuild-linux-64 "0.13.8"
    esbuild-linux-arm "0.13.8"
    esbuild-linux-arm64 "0.13.8"
    esbuild-linux-mips64le "0.13.8"
    esbuild-linux-ppc64le "0.13.8"
    esbuild-netbsd-64 "0.13.8"
    esbuild-openbsd-64 "0.13.8"
    esbuild-sunos-64 "0.13.8"
    esbuild-windows-32 "0.13.8"
    esbuild-windows-64 "0.13.8"
    esbuild-windows-arm64 "0.13.8"
```

build-angularがesbuildに依存しているようだった。
esbuild自体は、build-angularのdependencyに入っている。（しかしoptional）
```
"@angular-devkit/build-angular@~12.2.16":
  version "12.2.16"
  resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-12.2.16.tgz#99c2fae84133f22bbe7d13995a2b57cf1f650088"
  integrity sha512-0UlSaX3LngsBUp6Da69XlptyeZn7CTt/3sKijQDtkEw/J37vpMcXYD4nUuU7q7mVMoPQwMyPWdF+JBsBFz6f7A==
  dependencies:
    ...
    esbuild-wasm "0.13.8"
  ...
  optionalDependencies:
    esbuild "0.13.8"
```