Warning: No provider for "framework:jasmine"!
I'm getting this error after a fresh install and running grunt test:
Running "clean:server" (clean) task
Cleaning .tmp...OK
Running "concurrent:test" (concurrent) task
Running "copy:styles" (copy) task
Copied 1 files
Done, without errors.
Execution Time (2014-04-18 10:42:30 UTC)
loading tasks 4ms ▇▇▇▇▇▇▇▇▇▇▇▇▇ 27%
copy:styles 10ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 67%
Total 15ms
Running "autoprefixer:dist" (autoprefixer) task
Prefixed file ".tmp/styles/main.css" created.
Running "connect:test" (connect) task
Started connect web server on 127.0.0.1:9001.
Running "karma:unit" (karma) task
Warning: No provider for "framework:jasmine"! (Resolving: framework:jasmine) Use --force to continue.
Aborted due to warnings.
Execution Time (2014-04-18 10:42:28 UTC)
concurrent:test 1.8s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 94%
autoprefixer:dist 48ms ▇▇▇ 3%
karma:unit 35ms ▇▇ 2%
Total 1.9s
I have never used karma before so maybe there's something I should do before it works but on the other hand, it would be good if this generator not throw errors after a fresh install.
you may want to install karma-jasmine globally. e.g.:
npm install -g karma-jasmine
Also had this problem. Needed to install the karma-chrome-launcher as well. Why is it that these libraries are not included in the generator? Is there a legitimate reason for this configuration?
I as well. Would it be a problem to add these as dev dependencies in package.json?
dup of #629