No provider for “framework:jasmine”! (Resolving: framework:jasmine)
问题 When I run the command grunt I get the following warning: Running "karma:unit" (karma) task Warning: No provider for "framework:jasmine"! (Resolving: framework:jasmine) Use --force to continue. Does anybody know how to resolve this issue? 回答1: I had the same error after creating a new project the yeoman angular generator (yo angular). The solution for me was adding "karma-jasmine" to the devDependencies in packages.json and running "npm install" again. npm install karma-jasmine --save-dev