No provider for "framework:viewport"!
Hosar opened this issue · comments
Hosar commented
"karma-viewport": "^0.4.1"
Getting: No provider for "framework:viewport"!, on angular 4 project.
Do I need to configure something else?
Martin Donath commented
Can you post your karma configuration and the complete error output?
Martin Donath commented
Closing due to inactivity. Please re-open if the problem still persists.
Daniel Stuessy commented
May be of use to some people:
I just got the same error message and found it was solved by adding 'karma-viewport' to the plugins
array of my karma config object. Seemed pretty obvious to me in hindsight, but who knows, might help someone.
Samuel Lukes commented
@dstuessy this fixed it for me too. This should be in the readme :)
Thiago Ferreira commented
@dstuessy, it fixed to me as well. Thanks a lot!