react-dashboard icon indicating copy to clipboard operation
react-dashboard copied to clipboard

yarn install returns: Expected version "8.10.0". Got "11.9.0"

Open dtsmith2001 opened this issue 6 years ago • 2 comments

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?

dtsmith2001 avatar Feb 28 '19 19:02 dtsmith2001

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" }, ......

Nooka10 avatar Mar 05 '19 20:03 Nooka10

just add ^ before the current version number: ^8.10.0

airguide avatar Mar 11 '19 20:03 airguide