-
Notifications
You must be signed in to change notification settings - Fork 117
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
grunt-karma ^2.0.0 installs karma@1.0.0 and tests don't work #192
Comments
Can you provide a repro project? My tests run fine with karma@1.0 |
Create an angular project with yeoman (using grunt, not gulp) and try running the tests. |
Does not reproduce it for me: This project works fine for me: https://github.com/dignifiedquire/grunt-karma-192 |
Sorry for my delay. It's quite strange, I get it when running grunt on windows but not in linux. It also happens just the same with my repo. |
So in W7 I sorted out by installing the the version that grunt-karma needs according to the docs:
|
With currently supported versions of Node.js and npm (Node 6+, npm 3+) peerDependencie are not automatically downloaded (unlike regular dependencies). Instead, it is up to the project to decide what and which version to install. As such, any version of karma and any version of grunt-karma can be used together. The The karma 1.x support has been been added and released, so closing this report. See #267 for a similar issue with karma 3.x, which we're fixing next. Thanks! |
When installing grunt-karma
npm install grunt-karma --save-dev
it install karma^1.0.0 with it. And that breaks the tests:More info here.
The text was updated successfully, but these errors were encountered: