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 error #67

Closed
artisin opened this issue Feb 21, 2017 · 4 comments
Closed

Yarn install error #67

artisin opened this issue Feb 21, 2017 · 4 comments

Comments

@artisin
Copy link

artisin commented Feb 21, 2017

Not a huge issue, but yarn throws the following error upon install: [email protected]: The engine "node" is incompatible with this module. Expected version "^4.0.0". therefore causing the install to fail. I'm more or less pulling this issue to let others know to mitigate this error you must use yarn install --ignore-flags until the node version is fixed/updated in the package.json.

@shjyh
Copy link

shjyh commented Feb 21, 2017

--ignore-flags seems not work
yarn version 0.20.3

@LaurensRietveld
Copy link

For me the --ignore-flags didn't work when doing a yarn upgrade (also v 0.20.3). Instead, I added --ignore-engines

@swernerx
Copy link

Yep, the issue might be that this in package.json is probably wrong:

  "engines": {
    "node": "^4.0.0"
  },

Better use:

  "engines": {
    "node": ">=4.0.0"
  },

jhnns added a commit that referenced this issue Feb 21, 2017
@jhnns
Copy link
Member

jhnns commented Feb 21, 2017

@swernerx Thanks for pointing that out. Should be fixed with 1.0.2

@jhnns jhnns closed this as completed Feb 21, 2017
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

5 participants