Production build failed

I have problem with production version. I’m geting this error after running ionic cordova build android --prod --release on ngc started :

[11:22:19]  ngc started ...
[11:22:23]  ionic-app-script task: "build"
[11:22:23]  TypeError: Object prototype may only be an Object or null: undefined
TypeError: Object prototype may only be an Object or null: undefined
    at setPrototypeOf (<anonymous>)
    at Object.__extends (E:\Workspace\Autobid\car-record\node_modules\tslib\tslib.js:64:9)
    at E:\Workspace\Autobid\car-record\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:115:17
    at E:\Workspace\Autobid\car-record\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:314:6
    at E:\Workspace\Autobid\car-record\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:3:17
    at Object.<anonymous> (E:\Workspace\Autobid\car-record\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:9:3)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
[ERROR] An error occurred while running subprocess ionic-app-scripts.

Here’s my package.json dependencies:

"dependencies": {
    "@angular/common": "^7.2.16",
    "@angular/compiler": "^7.2.16",
    "@angular/compiler-cli": "^8.2.14",
    "@angular/core": "^7.2.16",
    "@angular/forms": "^7.2.16",
    "@angular/http": "^7.2.16",
    "@angular/platform-browser": "^7.2.16",
    "@angular/platform-browser-dynamic": "^7.2.16",
    "@ionic-native/android-permissions": "^5.27.0",
    "@ionic-native/app-version": "^5.27.0",
    "@ionic-native/base64": "^5.27.0",
    "@ionic-native/base64-to-gallery": "^5.27.0",
    "@ionic-native/camera": "^5.27.0",
    "@ionic-native/camera-preview": "^5.27.0",
    "@ionic-native/core": "^5.27.0",
    "@ionic-native/email-composer": "^5.27.0",
    "@ionic-native/file": "^5.27.0",
    "@ionic-native/file-transfer": "^5.27.0",
    "@ionic-native/ionic-webview": "^5.27.0",
    "@ionic-native/media": "^5.27.0",
    "@ionic-native/media-capture": "^5.27.0",
    "@ionic-native/native-page-transitions": "^5.27.0",
    "@ionic-native/native-storage": "^5.27.0",
    "@ionic-native/network": "^5.27.0",
    "@ionic-native/photo-viewer": "^5.27.0",
    "@ionic-native/screen-orientation": "^5.27.0",
    "@ionic-native/screenshot": "^5.27.0",
    "@ionic-native/speech-recognition": "^5.27.0",
    "@ionic-native/splash-screen": "^5.27.0",
    "@ionic-native/status-bar": "^5.27.0",
    "@ionic-native/video-player": "^5.27.0",
    "@ionic/storage": "^2.1.3",
    "@ngrx/core": "^1.2.0",
    "@ngrx/effects": "^7.2.0",
    "@ngrx/entity": "^7.2.0",
    "@ngrx/store": "^7.2.0",
    "@ngrx/store-devtools": "^7.2.0",
    "@ngrx/store-log-monitor": "^3.0.2",
    "@ngx-translate/core": "^11.0.1",
    "@ngx-translate/http-loader": "^4.0.0",
    "android-versions": "^1.5.0",
    "com-badrit-base64": "^0.2.0",
    "com-sarriaroman-photoviewer": "1.2.4",
    "com.darktalker.cordova.screenshot": "^0.1.6",
    "com.telerik.plugins.nativepagetransitions": "^0.6.5",
    "cordova-android": "^8.1.0",
    "cordova-base64-to-gallery": "^4.1.3",
    "cordova-browser": "5.0.4",
    "cordova-plugin-android-permissions": "^1.0.2",
    "cordova-plugin-app-version": "^0.1.9",
    "cordova-plugin-audioinput": "^1.0.2",
    "cordova-plugin-camera": "^3.0.0",
    "cordova-plugin-console": "^1.1.0",
    "cordova-plugin-device": "^1.1.7",
    "cordova-plugin-email-composer": "^0.9.2",
    "cordova-plugin-file": "^6.0.1",
    "cordova-plugin-ionic-webview": "2.5.2",
    "cordova-plugin-media": "^5.0.3",
    "cordova-plugin-media-capture": "^3.0.3",
    "cordova-plugin-nativestorage": "^2.3.2",
    "cordova-plugin-network-information": "^2.0.1",
    "cordova-plugin-screen-orientation": "^3.0.2",
    "cordova-plugin-speechrecognition": "1.2.0",
    "cordova-plugin-splashscreen": "^4.1.0",
    "cordova-plugin-whitelist": "^1.3.3",
    "from": "^0.1.7",
    "immutable": "^3.8.2",
    "info.protonet.imageresizer": "^0.1.1",
    "ionic-angular": "3.9.5",
    "ionic-img-viewer": "^2.9.0",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionicons": "3.0.0",
    "jquery": "^3.5.1",
    "lodash": "^4.17.19",
    "lodash.map": "^4.6.0",
    "ng2-fittext": "^1.2.12",
    "ngrx-forms": "^2.3.5",
    "ngrx-store-logger": "^0.2.4",
    "ngx-take-until-destroy": "^5.2.1",
    "reselect": "^3.0.1",
    "rxjs": "^6.6.0",
    "rxjs-compat": "^6.6.0",
    "sentry-cordova": "^0.17.0",
    "sw-toolbox": "3.6.0",
    "underscore": "^1.10.2",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.4",
    "@ionic/lab": "^3.1.7",
    "@types/lodash": "^4.14.157",
    "ngrx-store-freeze": "^0.2.2",
    "remotedev": "^0.2.9",
    "tslint": "^5.20.1",
    "tslint-ionic-rules": "0.0.19",
    "typescript": "3.1.6"
  },

Can someone help me with that ? Or give me some ideas what should went wrong ? There is a list with “requirements” to build production version ? Meybe to old version of typescript or ionic, etc…

Can you try this step