18
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

yarn install時に、error : The engine "node" is incompatible with this module.

yarn installしたときにeslintがインストールできなくて詰まったので、解決策を書きます。

エラー

error eslint@5.8.0: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0".
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

発生環境

  • node: 8.9.4
  • yarn: 1.9.4

解決策

yarn install --ignore-engines

これでだめならnodeのバージョンを下げて解決する場合もある。

参考

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
18
Help us understand the problem. What are the problem?