api-console icon indicating copy to clipboard operation
api-console copied to clipboard

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

Open alvassin opened this issue 10 years ago • 14 comments

$ grunt
Loading "grunt-karma.js" tasks...ERROR
>> Error: Cannot find module 'karma'

Running "jshint:files" (jshint) task
Warning: Path must be a string. Received null Use --force to continue.

Aborted due to warnings.

alvassin avatar May 09 '16 16:05 alvassin

Still unable to install on clean nodejs 6.0 on mac. I get UNMET PEER DEPENDENCY karma@~0.12.0 error while executing npm install.

alvassin avatar May 12 '16 21:05 alvassin

Installing karma using $ npm install --save-dev karma@~0.12.0 seemed to be ok, but grunt is still failing. Is there any solution for this?

alvassin avatar May 12 '16 21:05 alvassin

@juancoen are you having these issues?

dmartinezg avatar May 12 '16 21:05 dmartinezg

It's working for me

@alvassin which Node/NPM version are you using?

juancoen avatar May 12 '16 21:05 juancoen

@juancoen

$ node --version
v6.0.0

alvassin avatar May 12 '16 22:05 alvassin

@alvassin The Console is not working with Node 6 and npm 3. While we fix this, you can still use the Console with Node LTS version (v4.4.4 with npm 2.15.1).

juancoen avatar May 13 '16 14:05 juancoen

I'm experiencing this issue also. I'm using node 7.1.0 and npm 4.0.5.

Is no one else using this tool or is everyone who is still on node v4? LTS now includes node 6.

Relequestual avatar Dec 22 '16 13:12 Relequestual

I'm experiencing this issue too. I'm using node 7.5.0 and npm 4.1.2.

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

amarnath6 avatar Apr 12 '17 18:04 amarnath6

Got the same Loading "grunt-karma.js" tasks...ERROR on node v7.9.0 and npm 4.5.0.

sergeynechaev avatar Apr 17 '17 15:04 sergeynechaev

@juancoen I got the same error. I'm using node 7.9.0 and npm 4.2.0.

Loading "grunt-karma.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.

I've installed the grunt-karma, but it doesn't still work for me. Thanks,

ghost avatar Aug 11 '17 07:08 ghost

Same as @alexandra1030 -- node 7.9.0 and npm 4.2.0.

jywarren avatar Sep 27 '17 22:09 jywarren

Run npm install grunt-contrib-imagemin --save-dev

carlosaparadam avatar Mar 20 '18 23:03 carlosaparadam

I'm experiencing this issue too when i was installed "npm install grunt-contrib-imagemin --save-dev" I'm using node v10.9.0 and npm 6.4.0

Loading "grunt-karma.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined

Running "serve" task

Running "clean:server" (clean) task

Running "wiredep:app" (wiredep) task
Cannot find where you keep your Bower packages.

zion3mx avatar Aug 28 '18 04:08 zion3mx

API Console version 3 is no longer supported. We are at version 6 right now. Please, upgrade your version of the console to have latest updates.

jarrodek avatar Jan 16 '20 21:01 jarrodek