Giter VIP home page Giter VIP logo

Comments (5)

vojtajina avatar vojtajina commented on August 14, 2024

Do not install karma-jasmine with Karma 0.8, the jasmine adapter is included. The karma-jasmine plugin (same as any other karma plugin) is for the upcoming v0.10 (or 0.9 canary).

from karma-jasmine.

perqa avatar perqa commented on August 14, 2024

I wasn't trying to install karma-jasmine. I only tried to install grunt-cli, karma & bower, but the error message I received pointed at karma-jasmine.

from karma-jasmine.

vojtajina avatar vojtajina commented on August 14, 2024

I guess you installed karma@canary and then reverted back to karma@stable... Can you please manually remove all the karma-* plugins ? and then install karma ?

This something we need to figure out (not with Karma, but with NPM in general).

from karma-jasmine.

perqa avatar perqa commented on August 14, 2024

I have only ever used the command
npm install -g karma
so that should be the stable version.

These problems first occurred after I updated node and npm to the latest versions. Before that I had other problems which required an update. Peer dependencies were introduced in version 0.8.19 and I was running an earlier node version.

Current versions:
Pers-MacBook-Pro:Workspace per$ node --version
v0.10.13
Pers-MacBook-Pro:Workspace per$ npm --version
1.3.2

When you say manually uninstall, do you mean something like
npm uninstall -g <karma-plugin> ?

from karma-jasmine.

vojtajina avatar vojtajina commented on August 14, 2024

Yep, either npm uninstall or just simply rm -rf the folder where it is. The global modules are probably in /usr/local/lib/node_modules/ (if you are on Mac/Linux) or ~/.nvm/vx.x.x/lib/node_modules (if you are using NVM).

from karma-jasmine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.