79650118

Date: 2025-06-02 18:03:26
Score: 1
Natty:
Report link

try to insert "provideHttpClient(withInterceptorsFromDi())" in the providers list on main.single-spa.ts

   const lifecycles = singleSpaAngular({
  bootstrapFunction: singleSpaProps => {
    singleSpaPropsSubject.next(singleSpaProps);
    return bootstrapApplication(AppComponent, {
      providers: [...getSingleSpaExtraProviders(),provideHttpClient(withInterceptorsFromDi()) ],
    });
  },
  template: '<app-root />',
  Router,
  NavigationStart,
  NgZone,
});
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Paula