Beta Angular - Compile error (2.70.0-beta1)

Hello,
I cannot get angular compiled in beta version 2.70.0-beta1.
I got the following errors:

ng-cli: 
Error: node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:20:21 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

20     static ɵfac: i0.ɵɵFactoryDeclaration<JwtModule, [{ optional: true; skipSelf: true; }]>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:21:21 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.

21     static ɵmod: i0.ɵɵNgModuleDeclaration<JwtModule, never, never, never>;
                       ~~~~~~~~~~~~~~~~~~~~~
node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:22:21 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.

22     static ɵinj: i0.ɵɵInjectorDeclaration<JwtModule>;
                       ~~~~~~~~~~~~~~~~~~~~~
node_modules/@auth0/angular-jwt/lib/jwt.interceptor.d.ts:21:21 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

21     static ɵfac: i0.ɵɵFactoryDeclaration<JwtInterceptor, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/@auth0/angular-jwt/lib/jwt.interceptor.d.ts:22:22 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'.

22     static ɵprov: i0.ɵɵInjectableDeclaration<JwtInterceptor>;
                        ~~~~~~~~~~~~~~~~~~~~~~~
mnode_modules/@auth0/angular-jwt/lib/jwthelper.service.d.ts:22:21 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

22     static ɵfac: i0.ɵɵFactoryDeclaration<JwtHelperService, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/@auth0/angular-jwt/lib/jwthelper.service.d.ts:23:22 - error TS2694: Namespace '"C:/SourceTree/ToolShop/client/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'.

23     static ɵprov: i0.ɵɵInjectableDeclaration<JwtHelperService>;

I tried to do debugging but without success.
Do you have any hint?

We haven't seen this error before and don't know what could be causing it. Additional information is required.

after downgrade jwt-decode to 3.0.1 this problem disappeared.

But than additional shown:

Error: node_modules/@auth0/angular-jwt/index.d.ts:19:48 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

19     static forRoot(options: JwtModuleOptions): ModuleWithProviders;

Hi @koblamic,

I tested with a new application created with 2.90.0-beta.0 which is the latest version we have for that release (you can download it from here). It seems to work as expected. Here is how the package.json looks like:

{
  "name": "sample-angular",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~11.2.1",
    "@angular/cdk": "~11.2.1",
    "@angular/common": "~11.2.1",
    "@angular/compiler": "~11.2.1",
    "@angular/core": "~11.2.1",
    "@angular/forms": "~11.2.1",
    "@angular/platform-browser": "~11.2.1",
    "@angular/platform-browser-dynamic": "~11.2.1",
    "@angular/router": "~11.2.1",
    "@angular/service-worker": "~11.2.1",
    "@auth0/angular-jwt": "^5.0.1",
    "@radzen/angular": "next",
    "core-js": "^2.5.1",
    "rxjs": "~6.5.5",
    "web-animations-js": "2.3.2",
    "zone.js": "~0.10.3",
    "classlist.js": "1.1.20150312",
    "@angular/localize": "~11.2.1",
    "tslib": "^2.0.0",
    "@fullcalendar/core": "^4.1.0",
    "@fullcalendar/daygrid": "^4.1.0",
    "@fullcalendar/interaction": "^4.1.0",
    "@fullcalendar/moment": "^4.1.0",
    "@fullcalendar/timegrid": "^4.1.0",
    "@swimlane/ngx-charts": "^14.0.0",
    "blueimp-md5": "^2.17.0",
    "lodash": "^4.17.19",
    "moment": "^2.27.0",
    "primeng": "^9.1.3",
    "signature_pad": "^2.3.2"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.1102.1",
    "@angular/cli": "~11.2.1",
    "@angular/compiler-cli": "~11.2.1",
    "@angular/language-service": "~7.2.15",
    "@types/node": "^12.11.1",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@ngx-i18nsupport/ngx-i18nsupport": "^1.1.3",
    "@ngx-i18nsupport/tooling": "^8.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~8.3.0",
    "tslint": "~5.11.0",
    "typescript": "~4.0.5"
  }
}