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

remove engine:'^4' in package.json #166

Closed
janryWang opened this issue Oct 13, 2016 · 6 comments · Fixed by #167
Closed

remove engine:'^4' in package.json #166

janryWang opened this issue Oct 13, 2016 · 6 comments · Fixed by #167

Comments

@janryWang
Copy link

janryWang commented Oct 13, 2016

error [email protected]: The engine "node" is incompatible with this module. Expected version "^4".

my node version is v5.5.0

@jackycute
Copy link

are you using node version below 4?
I think this issue comes from yarn, am I right?

@JorgenEvens
Copy link
Contributor

JorgenEvens commented Oct 18, 2016

This is preventing us from using yarn on one of our projects. We are using node v6.

@domchristie
Copy link
Collaborator

If anyone fancies creating a pull request for this that'd be great.

@jackycute
Copy link

jackycute commented Oct 18, 2016

I've mentioned this issue in yarn, but it seems to be solved few days ago.
yarnpkg/yarn#623
And fixed issue is yarnpkg/yarn#647

So maybe upgrade yarn and install again will solve this issue.

@JorgenEvens
Copy link
Contributor

I was using the latest version of yarn, seems like they only fixed the --ignore-engines flag.
Created a PR to resolve this issue with the correct version specification.

@jackycute
Copy link

You're right, I mean this engine number specified with "^" is not compatible with yarn.
It should be ">=" like your PR.
Good Job @JorgenEvens !

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

Successfully merging a pull request may close this issue.

4 participants