Error while running yarn install

Error while trying to install Web SDK:

error eko-sdk@4.3.2: The engine "node" is incompatible with this module. Expected version "14.3.0". Got "14.16.0"

error Found incompatible module.

Thank you for bringing up this error message. We had enforced engine version to make sure you run the sdk in a verified environment.

To fix your issue, you have few options:

  • use nvm. you can find an introduction to nvm here
  • bypass yarn’s engines check by adding --ignore-engines to your yarn commands. Optionally, you can set this up by default in your yarn config by typing yarn config set ignore-engines true
  • use npm, which doesn’t check for engine version.

Please let me know if your problem was solved my marking your questions as answered!

1 Like