LoginSignup
0
0

More than 5 years have passed since last update.

yarn error Bad hash. Expected

Posted at

yarnが落ちるようになった。

yarn install v0.24.6
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error Bad hash. Expected "0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" but got "da39a3ee5e6b4b0d3255bfef95601890afd80709"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Bad hash.でissueを探す。
https://github.com/yarnpkg/yarn/issues/3309

どうやらまだ解決されてないらしい。

根本的な解決は諦める。

とりあえず、キャッシュを削除

rm ~/npm-packages-offline-cache
yarn install v0.24.6
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.56s.

解決。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0