TypeError: Cannot read properties of undefined (reading ‘0’) in main.ts
I want to add a library to my Nx Angular project. I added the module in the imports of AppModule
. I also had to add StoreModule.forRoot()
and EffectsModule.forRoot()
. The error occurs when launching the application. I don’t understand what might be causing it.
I know the lib works has it is used in another lib. I tried to reproduce implementation without success.