Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
How to install version 0.10 #686
I've tried to install the new version of karma, but I got this errors:
npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
Welcome in the dependency hell ;-) I've previously installed the canary version but I've uninstalled it before. How to install the new version 0.10?
Is there any specific version of node.js required? I've tried the installation on my second MacBook and had no problem. The only difference is that there is an older version of node (0.8.x) installed. And on the first MacBook I've installed node.js in version 0.10.x.
I'm also having the same error after trying to upgrade karma to 0.10. I deleted my local node_modules folder in my project and cleared npm cache before attempting.
I'm running node v0.10.12 and npm 1.2.32.
Karma runs on two latest stable versions of Node, that is 0.8.x or 0.10.x, so that's probably not the problem.
@janbaer I agree, that the peerDependencies are not as great as we thought... We need to fix NPM somehow, probably allow updating multiple packages at once or something...
I know, that this sucks, but I'm not sure how to fix this in Karma. Any ideas are welcome.
Also note that karma behaves similar to grunt-cli - if you have a local Karma instance, it will use it. So you can update only local version of Karma. I'm gonna push