Hi Angular Recently I upgraded my app from angular 1.7.4 to angular 7.1.2 and it would crash on startup with dependency injection error “NullInjectorError: No provider for Router!” <https://stackoverflow.com/questions/51419602/angular-6-error-nullinjectorerror-no-provider-for-router>
I found some discussion here but the solution didn't help in my case https://stackoverflow.com/questions/51419602/angular-6-error-nullinjectorerror-no-provider-for-router In my case, it's not even an provider that I declared in my module that is causing this. It's one of my dependency's service that is failing to instantiate. How would you debug this? * How would I inspect the code that bootstrap DI? What triggers the DI? * Since the app crashes right away there is not even a way for me to put debug point anywhere. thanks Peter -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
