jeudi 26 novembre 2020

Storybook 6 error: ngrx no provider for Store error - how to fix?

My Angular10 application is working fine when using ng serve / nx serve. The NGRX store and Feature stores are working as expected.

However, when I try and run a Storybook from any of my Libs in the project I get errors. Why is this? How do I fix this? I have not found a solution so far.

This is part of the error:

StaticInjectorError(Platform: core)[InjectionToken @ngrx/store Check if Action types are unique -> InjectionToken @ngrx/store Internal Runtime Checks]: 
    NullInjectorError: No provider for InjectionToken @ngrx/store Internal Runtime Checks!

Does anyone know a solution? Thanks.

Aucun commentaire:

Enregistrer un commentaire