AngularJS Error: Module ngAnimate is not available

前端 未结 1 1866
遥遥无期
遥遥无期 2020-12-30 03:26

I\'am new to angular and running into a problem. I used the yeoman angular generator and added the ngAnimate module. When I run grunt test I get the following e

相关标签:
1条回答
  • 2020-12-30 04:06

    I suspect the reason is: If you run grunt test, the karma task will run. The configuration for karma is in the karma.conf.js file. There you must add angular-animate.js in the files array.

    0 讨论(0)
提交回复
热议问题