Karma error - Unknown provider: $$asyncCallbackProvider

后端 未结 3 647
天涯浪人
天涯浪人 2021-01-17 20:55

Trying to run my karma test through grunt but getting an error:

Error: [$injector:modulerr] Failed to instantiate module ngMock due to:
Error: [$injector:unp         


        
3条回答
  •  温柔的废话
    2021-01-17 21:30

    While I have no doubt that 3sdmx's answer would work, I just ran an NPM update and that worked. Thought I should mention that so that people aren't maintaining their .json files so closely.

提交回复
热议问题