Skip to content

TranslocoCurrenyPipe NullInjectorError #29085

Answered by Marklb
amadeus-nplum asked this question in Help
Discussion options

You must be logged in to vote

Since you are using an NgModule, I will assume your project does not bootstrap a standalone component. Storybook now bootstraps a standalone component, so there is not really a root NgModule. Before standalone components, Angular assumed you would use the root module correctly and only import your root providers in the root NgModule, but standalone apps are more strict about enforcing that. I am going to assume you already considered this or are doing something that this doesn't matter, based on the error that you showed.

Without more knowledge of your project, I can only make assumptions, but I will assume GoogleMapsService has @Injectable({ providedIn: 'root' }). I don't remember when t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amadeus-nplum
Comment options

Answer selected by amadeus-nplum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants