react-dashboard
react-dashboard copied to clipboard
yarn install returns: Expected version "8.10.0". Got "11.9.0"
yarn install v1.13.0
[1/5] Validating package.json...
error [email protected]: The engine "node" is incompatible with this module. Expected version "8.10.0". Got "11.9.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I am running 16.04.5 LTS (Xenial Xerus)
unpatched at AWS kernel version 4.4.0-1075-aws. node -v
reports v11.9.0. Is there any additional information you need from me?
Your node version is newer than the one expected in package.json.
In package.json, just change the node version 8.10.0 with yours :
{ "name": "web", "version": "0.0.0", "private": true, "engines": { "node": "8.10.0" }, ......
so this should work:
{ "name": "web", "version": "0.0.0", "private": true, "engines": { "node": "11.9.0" }, ......
just add ^ before the current version number: ^8.10.0