generator-angular icon indicating copy to clipboard operation
generator-angular copied to clipboard

gulp-karma is deprecated

Open MaybeThisIsRu opened this issue 10 years ago • 3 comments

Upon running yo angular with Gulp as the choice of workflow tool, receive the following error:

npm WARN deprecated [email protected]: Please use Karma directly: https://github.com/karma-runner/gulp-karma

MaybeThisIsRu avatar Dec 12 '15 04:12 MaybeThisIsRu

+1

patapron avatar Jan 14 '16 21:01 patapron

I think npm install --save-dev karma locally in the project might help to fix this (also, there might be a couple other dependencies such as jasmine-core and phantomjs-prebuilt to fix peer dependency issues). This might be a simple documentation fix. Next project I set up I will try this out and report back.

hoppy-kamper avatar Feb 01 '16 11:02 hoppy-kamper

You're running a deprecated version of gulp-karma According to the npm the current is 0.0.5 Add the following to your dependencies:

"gulp-karma": "~0.0.5",
"karma": "~0.13.19"

JSONRice avatar Feb 06 '16 21:02 JSONRice