LoginSignup
17

More than 5 years have passed since last update.

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

Last updated at Posted at 2018-11-08

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 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
17