I'm using Angular 14. I have the following dependencies in my package.json
"@angular/core": "^14.0.0",
...
"angular-oauth2-oidc": "^14.0.0",
When I start my app, using "ng serve", I get these errors ...
./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.mjs:3611:9-33 - Error: export 'makeEnvironmentProviders' (imported as 'makeEnvironmentProviders') was not found in '@angular/core' (possible exports: ANALYZE_FOR_ENTRY_COMPONENTS, ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver ...
Error: node_modules/angular-oauth2-oidc/provider.d.ts:1:10 - error TS2305: Module '"@angular/core"' has no exported member 'EnvironmentProviders'.
1 import { EnvironmentProviders } from '@angular/core';
I'm not quite sure how to troubleshoot this issue, so maybe a good start might be to ask what version of angular-core 14 plays nicely with angular-oauth2-oidc?