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

Cannot install with yarn in combination with NodeJS 9 #12

Closed
mavdhe opened this issue Feb 14, 2018 · 2 comments
Closed

Cannot install with yarn in combination with NodeJS 9 #12

mavdhe opened this issue Feb 14, 2018 · 2 comments

Comments

@mavdhe
Copy link

mavdhe commented Feb 14, 2018

When installing jest-axe with the command yarn add jest-axe -D on a NodeJS 9 system the following error appears:

error jest-axe@2.1.1: The engine "node" is incompatible with this module. Expected version "8.9.4".
error Found incompatible module

If i directly require a copy of the jest-axe/index.js file in my project then all is well. So removing/changing the engines/node variable in package.json might resolve this problem.

@NickColley
Copy link
Owner

NickColley commented Feb 14, 2018

Thanks for raising this, will see if I can make the engines less strict!

Edit: In the meantime you can run yarn --ignore-engines

@NickColley
Copy link
Owner

Released as 2.1.2 thanks @ofnof for raising and @connor-baer for fixing :)

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

2 participants