Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dtsmith2001 opened this issue Feb 28, 2019 · 2 comments
Open

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

dtsmith2001 opened this issue Feb 28, 2019 · 2 comments

Comments

@dtsmith2001
Copy link

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?

@Nooka10
Copy link

Nooka10 commented Mar 5, 2019

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

@airguide
Copy link

just add ^ before the current version number: ^8.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants