karma-runner / gulp-karma

Example of using Karma with Gulp.
310 stars 43 forks source link

Peer Dependency Issue #32

Closed tlerias closed 8 years ago

tlerias commented 8 years ago

I started having issues running npm install in my application with the following message:

255574 error code EPEERINVALID
255575 error peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
255575 error peerinvalid Peer karma-jasmine@0.2.3 wants karma@>=0.9
255575 error peerinvalid Peer karma-spec-reporter@0.0.19 wants karma@>=0.9
255575 error peerinvalid Peer karma-phantomjs-launcher@0.1.4 wants karma@>=0.9
255575 error peerinvalid Peer gulp-karma@0.0.4 wants karma@>=0.10 <=0.13
255575 error peerinvalid Peer karma-coverage@0.3.1 wants karma@>=0.9

here is my package.json:

  "dependencies": {
    "async": "0.9.0",
    "body-parser": "1.8.4",
    "cookie-parser": "1.3.3",
    "datejs": "^1.0.0-rc3",
    "ejs": "0.8.8",
    "express": "4.13.3",
    "express-device": "^0.4.2",
    "lodash": "3.9.3",
    "moment": "2.10.3",
    "moment-timezone": "0.5.0",
    "pcln-config-manager": "git+https://bitbucket.corp.priceline.com/scm/nc/pcln-config-manager.git#1.0.9",
    "pcln-request": "git+https://bitbucket.corp.priceline.com/scm/nc/pcln-request.git#1.0.11",
    "pcln-request-handler": "git+https://bitbucket.corp.priceline.com/scm/nc/pcln-request-handler.git#1.0.20",
    "pcln-ab-testing": "git+https://bitbucket.corp.priceline.com/scm/mod/pcln-ab-testing.git",
    "serve-favicon": "2.3.0",
    "wrench": "1.5.8"
  },
  "devDependencies": {
    "browser-sync": "^1.3.6",
    "chalk": "^0.4.0",
    "event-stream": "^3.3.1",
    "gulp": "^3.8.0",
    "gulp-angular-filesort": "^1.1.1",
    "gulp-autoprefixer": "^0.0.6",
    "gulp-babel": "^5.2.1",
    "gulp-cache": "^0.2.0",
    "gulp-concat": "2.4.3",
    "gulp-csso": "^0.2.6",
    "gulp-filter": "^1.0.0",
    "gulp-flatten": "^0.0.2",
    "gulp-inject": "^1.3.1",
    "gulp-jasmine": "^2.0.1",
    "gulp-jshint": "^2.0.0",
    "gulp-karma": "^0.0.5",
    "gulp-load-plugins": "^0.6.0",
    "gulp-minify-html": "^0.1.3",
    "gulp-ng-annotate": "^1.0.0",
    "gulp-ng-html2js": "^0.1.6",
    "gulp-nodemon": "^1.0.5",
    "gulp-protractor": "^0.0.11",
    "gulp-rename": "^1.2.2",
    "gulp-replace": "^0.4.0",
    "gulp-rev": "^1.1.0",
    "gulp-rev-replace": "^0.3.3",
    "gulp-rimraf": "^0.1.0",
    "gulp-sass": "^0.7.3",
    "gulp-size": "^1.1.0",
    "gulp-uglify": "^1.0.0",
    "gulp-useref": "^1.0.0",
    "gulp-util": "^3.0.4",
    "http-proxy": "^1.8.1",
    "jasmine-core": "^2.4.1",
    "jshint": "^2.9.2",
    "jshint-stylish": "^0.4.0",
    "karma": "^1.1.0",
    "karma-coverage": "^0.3.1",
    "karma-jasmine": "~0.2.0",
    "karma-phantomjs-launcher": "^0.1.4",
    "karma-spec-reporter": "0.0.19",
    "main-bower-files": "^2.0.0",
    "pcln-tests": "git+https://bitbucket.corp.priceline.com/scm/mod/pcln-tests.git",
    "phantomjs": "^2.1.7",
    "protractor": "^1.1.1",
    "protractor-screenshot-reporter": "0.0.5",
    "proxyquire": "^1.6.0",
    "require-dir": "^0.1.0",
    "stream-series": "^0.1.1",
    "uglify-save-license": "^0.4.1",
    "wiredep": "^1.8.5",
    "yargs": "^3.7.2"
  },
  "engines": {
    "node": ">=0.10.0"
  }

why is gulp karma asking for a karma version less than 1.x? thanks in advance!

pkozlowski-opensource commented 8 years ago

gulp-karma is not what we are releasing as part of this repo. The whole goal of this repository is to tell people not to use any gulp plugins (so to avoid gulp-karma) and instead use a simple setup from this repo. See: https://github.com/karma-runner/gulp-karma#do-we-need-a-plugin