ember-flash-messages icon indicating copy to clipboard operation
ember-flash-messages copied to clipboard

Error: Attempting to inject an unknown injection: `service:flashMessageQueue`

Open mikkergimenez opened this issue 9 years ago • 4 comments

When I try to run a test that involves a route that contains the service:flashMessageQueue, it is failing with that error message. It's a pretty vague error message, here is the full output:

not ok 47 PhantomJS 2.0 - route:wiki: it tests pushing changes --- actual: > false expected: > true message: > Error: Attempting to inject an unknown injection: service:flashMessageQueue Log: > ...

mikkergimenez avatar Sep 09 '15 01:09 mikkergimenez

Hmm, what versions of Ember and Ember CLI are you running?

sir-dunxalot avatar Sep 09 '15 14:09 sir-dunxalot

Ember: 1.13.3 Ember-CLI: 1.13.1 ember-flash-messages: 0.6.1

mikkergimenez avatar Sep 15 '15 01:09 mikkergimenez

I just realized this never got solved - sorry. If this is still relevant, was this a unit test?

sir-dunxalot avatar Mar 10 '16 02:03 sir-dunxalot

I have the same problem

emilenriquez avatar Jun 08 '17 11:06 emilenriquez