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

Karma does not install in node v7 as --save-dev #2559

Closed
pedrotcaraujo opened this issue Feb 2, 2017 · 6 comments · Fixed by karronoli/redpen#10 · May be fixed by Omrisnyk/npm-lockfiles#122 or Omrisnyk/npm-lockfiles#132
Closed

Comments

@pedrotcaraujo
Copy link
Contributor

Expected behaviour

Would like to install Karma in Node v7

Actual behaviour

NPM engines disable to install karma with node v7 in my project, but global it works.

Environment Details

  • Karma version (output of karma --version): Karma version: 1.4.1

Steps to reproduce the behaviour

  1. nvm install v7
  2. npm install karma --save-dev
    npm ERR! notsup Unsupported engine for karma@1.4.1: wanted: {"node":"0.10 || 0.12 || 4 || 5 || 6"} (current: {"node":"7.1.0","npm":"3.10.9"})

I would like to know if we need to update the version support, since it allow to install as global and works.

@pedrotcaraujo pedrotcaraujo changed the title Karma not running in Node v7 Karma does not install in node v7 as --save-dev Feb 2, 2017
@pedrotcaraujo
Copy link
Contributor Author

By myself I found out the answer :). Because LTS https://github.com/nodejs/LTS. It can close if you want.

@abdulrahmank
Copy link

How did you solve this issue? @pedrotcaraujo

@pedrotcaraujo
Copy link
Contributor Author

I just downgrade my node to LTS version 6 =/

@dignifiedquire
Copy link
Member

We just need to add 7 in the engine field in package.json and do a release with it. PRs welcome

@pedrotcaraujo
Copy link
Contributor Author

@dignifiedquire will this change considered? Since that node v7 is not a LTS yet.

@dignifiedquire
Copy link
Member

@pedrotcaraujo that's fine, we still want to support it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment