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

QUnit 2.7 claims compatibility with Node 4, but fails #1321

Closed
Turbo87 opened this issue Oct 12, 2018 · 5 comments
Closed

QUnit 2.7 claims compatibility with Node 4, but fails #1321

Turbo87 opened this issue Oct 12, 2018 · 5 comments
Labels
Category: Docs Type: Bug Something isn't working right.
Milestone

Comments

@Turbo87
Copy link
Member

Turbo87 commented Oct 12, 2018

Some of our CI systems are still running on Node 4 and the qunit npm package claims that it's still compatible with it:

https://github.com/qunitjs/qunit/blob/2.7.0/package.json#L100

Unfortunately qunit has a dependency on sane@4 though, which is Node 6+. It seems that this dependency bump was introduced without a change to the Node requirements of QUnit 🤔

As our CI will try to install the latest qunit, it will try to install sane@4 now and fail:

error [email protected]: The engine "node" is incompatible with this module. Expected version "6.* || 8.* || >= 10.*". Got "4.9.1"

/cc @trentmwillis @stefanpenner

@rwjblue
Copy link
Contributor

rwjblue commented Oct 12, 2018

This was discussed in #1299, and QUnits policy roughly matches Ember CLI’s (only supporting supported node versions). The engines field should have been updated in that PR though...

@Turbo87
Copy link
Member Author

Turbo87 commented Oct 12, 2018

that is quite unfortunate... Do we need to pin it then in ember-qunit?

@rwjblue
Copy link
Contributor

rwjblue commented Oct 12, 2018

We should pin in ember-qunit (IIRC ember-cli-qunit doesn’t have a qunit for directly any more), then release a major I guess (need to drop Node 4 and ember-cli < 2.13 over there).

@Turbo87
Copy link
Member Author

Turbo87 commented Oct 12, 2018

@rwjblue yep, that seems like the right thing to do to me. see emberjs/ember-qunit#353

@trentmwillis
Copy link
Member

Oops, closed prematurely. Need to update the engines field in package.json:

"node": ">=4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Docs Type: Bug Something isn't working right.
Development

No branches or pull requests

4 participants