Skip to content
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

Loading "grunt-karma.js" tasks...ERROR >> TypeError: Cannot read property 'prototype' of undefined Warning: Task "karma:unit" not found. Use --force to continue. #433

Open
fede1984 opened this issue Oct 1, 2017 · 6 comments

Comments

@fede1984
Copy link

fede1984 commented Oct 1, 2017

Loading "grunt-karma.js" tasks...ERROR

TypeError: Cannot read property 'prototype' of undefined
Warning: Task "karma:unit" not found. Use --force to continue.

How I fix this problem?
appears when I want to run grunt watch

@YodasMyDad
Copy link

I'm also getting this error

@tyagister
Copy link

same error with grunt watch.

@torgebauer
Copy link

torgebauer commented Apr 26, 2018

My try: go to package.json and change the following 2 lines:
"grunt-karma": "^0.12.2",
"karma": "^1.6.0",

It worked for me.

@sakthigithub
Copy link

sakthigithub commented May 11, 2018

Actually i done the this changes
"grunt-karma": "^0.12.2",
"karma": "^1.6.0"

But still I'm facing the same issue any suggestions ?

@haephrati
Copy link

haephrati commented Jun 2, 2019

I was also getting the same error. I fixed it by calling:
npm audit fix --force

@MiguelBarcelo
Copy link

I was also getting the same error. I fixed it by calling:
npm audit fix --force

It works for me...
When I run > grunt watch
The firefox browser was opened over and over again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants