Error on production build. Angular 8

Error occurs during page loading:


Here is my package.json:

"dependencies": {
    "@angular/animations": "^8.1.0",
    "@angular/cdk": "^8.0.2",
    "@angular/common": "^8.1.0",
    "@angular/compiler": "^8.1.0",
    "@angular/compiler-cli": "^8.1.0",
    "@angular/core": "^8.1.0",
    "@angular/flex-layout": "^8.0.0-beta.26",
    "@angular/forms": "^8.1.0",
    "@angular/http": "^7.2.15",
    "@angular/material": "^8.0.2",
    "@angular/platform-browser": "^8.1.0",
    "@angular/platform-browser-dynamic": "^8.1.0",
    "@angular/platform-server": "^8.1.0",
    "@angular/router": "^8.1.0",
    "@babel/runtime": "^7.5.4",
    "@ngx-translate/core": "^11.0.1",
    "@types/leaflet": "^1.4.4",
    "angular-google-charts": "^0.1.6",
    "bcrypt": "^3.0.6",
    "fb": "^2.0.0",
    "hammerjs": "^2.0.8",
    "leaflet": "^1.5.1",
    "meteor-node-stubs": "^0.3.2",
    "meteor-rxjs": "^0.4.14",
    "reflect-metadata": "^0.1.13",
    "rxjs": "^6.5.2",
    "rxjs-compat": "^6.5.2",
    "zone.js": "^0.9.1"
  },
  "devDependencies": {
    "@types/meteor": "^1.4.28",
    "@types/node": "^12.6.2",
    "@types/underscore": "^1.9.2",
    "meteor-typings": "^1.4.1",
    "rxjs-tslint": "^0.1.7",
    "typescript": "^3.5.3"
  }

Works fine on localhost. What could be the problem and how to debug such troubles? thanks

without minifying

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'alias' of undefined
TypeError: Cannot read property 'alias' of undefined
    at router.ngfactory.ts:40
    at Array.forEach (<anonymous>)
    at mergeByAlias (router.ngfactory.ts:40)
    at factory (router.ngfactory.ts:40)
    at _callFactory (router.ngfactory.ts:40)
    at _createProviderInstance (router.ngfactory.ts:40)
    at resolveNgModuleDep (router.ngfactory.ts:40)
    at NgModuleRef_.get (router.ngfactory.ts:40)
    at injectInjectorOnly (router.ngfactory.ts:40)
    at Object.ɵɵinject (router.ngfactory.ts:40)
    at resolvePromise (router.ngfactory.ts:40)
    at resolvePromise (router.ngfactory.ts:40)
    at router.ngfactory.ts:40
    at ZoneDelegate.invokeTask (router.ngfactory.ts:40)
    at Object.onInvokeTask (router.ngfactory.ts:40)
    at ZoneDelegate.invokeTask (router.ngfactory.ts:40)
    at Zone.runTask (router.ngfactory.ts:40)
    at drainMicroTaskQueue (router.ngfactory.ts:40)
    at ZoneTask.invokeTask (router.ngfactory.ts:40)
    at ZoneTask.invoke (router.ngfactory.ts:40)

Works with Angular 7.