Karma: Karma does not install in node v7 as --save-dev

Created on 2 Feb 2017  路  6Comments  路  Source: karma-runner/karma

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 [email protected]: 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.

help wanted chore

Most helpful comment

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

All 6 comments

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

How did you solve this issue? @pedrotcaraujo

I just downgrade my node to LTS version 6 =/

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jambonrose picture jambonrose  路  5Comments

VinishaDsouza picture VinishaDsouza  路  3Comments

HerrDerb picture HerrDerb  路  5Comments

anius picture anius  路  3Comments

mgol picture mgol  路  3Comments