Can’t build apk

I don’t know why. The last time it worked. Now i can’t build anymore.
ionic-app-scripts build --aot --minifyjs --minifycss --target cordova --platform android
[17:43:06] ionic-app-scripts 3.1.11
[17:43:06] build dev started …
[17:43:06] clean started …
[17:43:06] clean finished in 1 ms
[17:43:06] copy started …
[17:43:06] deeplinks started …
[17:43:07] deeplinks finished in 1.10 s
[17:43:07] ngc started …
[17:43:16] ionic-app-script task: “build”
[17:43:16] TypeError: Cannot read property ‘kind’ of undefined
TypeError: Cannot read property ‘kind’ of undefined
at Object.isAmbientModule (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:9099:59)
at collectModuleReferences (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79472:28)
at collectExternalModuleReferences (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79449:17)
at processImportedModules (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79799:13)
at findSourceFile (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79696:17)
at processImportedModules (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79840:25)
at findSourceFile (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79696:17)
at /home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79567:85
at getSourceFileFromReferenceWorker (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79534:34)
at processSourceFile (/home/hoangdung/Project/HIT/Ionic/ionic-hit-foundation/node_modules/typescript/lib/typescript.js:79567:13)
[ERROR] An error occurred while running subprocess ionic-app-scripts.

    ionic-app-scripts build --aot --minifyjs --minifycss --target cordova --platform... exited with exit code 1.
    
    Re-running this command with the --verbose flag may provide more information.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hit-foundation@0.0.1 build-android-prod: ionic cordova build android --aot --minifyjs --minifycss --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hit-foundation@0.0.1 build-android-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/hoangdung/.npm/_logs/2020-04-03T10_43_16_602Z-debug.log
========================== The package.json

This is the package.json

{
“name”: “hit-foundation”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“start”: “ionic-app-scripts serve”
},
“dependencies”: {
@angular/animations”: “5.2.11”,
@angular/common”: “5.2.11”,
@angular/compiler”: “5.2.11”,
@angular/compiler-cli”: “5.2.11”,
@angular/core”: “5.2.11”,
@angular/forms”: “5.2.11”,
@angular/http”: “5.2.11”,
@angular/platform-browser”: “5.2.11”,
@angular/platform-browser-dynamic”: “5.2.11”,
@ionic-native/android-permissions”: “~4.15.0”,
@ionic-native/app-preferences”: “^4.15.0”,
@ionic-native/app-version”: “^4.20.0”,
@ionic-native/background-mode”: “^4.18.0”,
@ionic-native/branch-io”: “^4.15.0”,
@ionic-native/clipboard”: “^4.19.0”,
@ionic-native/core”: “~4.15.0”,
@ionic-native/device”: “^4.15.0”,
@ionic-native/diagnostic”: “^4.15.0”,
@ionic-native/email-composer”: “^4.15.0”,
@ionic-native/file”: “^4.15.0”,
@ionic-native/firebase-authentication”: “^4.15.0”,
@ionic-native/firebase-dynamic-links”: “^4.15.0”,
@ionic-native/globalization”: “^4.15.0”,
@ionic-native/http”: “^4.15.0”,
@ionic-native/in-app-browser”: “~4.15.0”,
@ionic-native/keyboard”: “^4.15.0”,
@ionic-native/local-notifications”: “~4.15.0”,
@ionic-native/network”: “^4.19.0”,
@ionic-native/open-native-settings”: “^4.15.0”,
@ionic-native/pin-check”: “^4.17.0”,
@ionic-native/qr-scanner”: “~4.15.0”,
@ionic-native/social-sharing”: “^4.20.0”,
@ionic-native/splash-screen”: “~4.15.0”,
@ionic-native/sqlite”: “^4.15.0”,
@ionic-native/status-bar”: “^4.15.0”,
@ionic-native/unique-device-id”: “^4.15.0”,
@ionic-native/web-intent”: “^4.20.0”,
@ionic/pro”: “2.0.3”,
@ionic/storage”: “^2.2.0”,
@ngx-translate/core”: “^9.1.1”,
@ngx-translate/http-loader”: “^2.0.1”,
@types/crypto-js”: “^3.1.43”,
@types/google-protobuf”: “^3.7.1”,
@types/js-base64”: “^2.3.1”,
@types/scrypt-async”: “^1.3.0”,
“bcryptjs”: “^2.4.3”,
“bip39”: “^3.0.2”,
“branch-cordova-sdk”: “^3.2.0”,
“com-darryncampbell-cordova-plugin-intent”: “^1.1.8”,
“cordova”: “^9.0.0”,
“cordova-android”: “^8.0.0”,
“cordova-browser”: “5.0.4”,
“cordova-clipboard”: “^1.3.0”,
“cordova-ios”: “^5.0.1”,
“cordova-open-native-settings”: “^1.5.2”,
“cordova-plugin-add-swift-support”: “^2.0.2”,
“cordova-plugin-advanced-http”: “^2.3.1”,
“cordova-plugin-android-permissions”: “^1.0.0”,
“cordova-plugin-android-safetynet”: “^1.0.2”,
“cordova-plugin-androidx”: “^1.0.2”,
“cordova-plugin-androidx-adapter”: “^1.1.0”,
“cordova-plugin-app-preferences”: “git+https://github.com/NemSavic/me.apla.cordova.app-preferences.git#cordova-9.0.0”,
“cordova-plugin-app-version”: “^0.1.9”,
“cordova-plugin-background-mode”: “^0.7.3”,
“cordova-plugin-badge”: “^0.8.8”,
“cordova-plugin-browsertab”: “0.2.0”,
“cordova-plugin-buildinfo”: “4.0.0”,
“cordova-plugin-compat”: “1.2.0”,
“cordova-plugin-customurlscheme”: “5.0.1”,
“cordova-plugin-device”: “^2.0.3”,
“cordova-plugin-email-composer”: “^0.9.2”,
“cordova-plugin-file”: “^6.0.2”,
“cordova-plugin-firebase-analytics”: “^4.1.2”,
“cordova-plugin-firebase-authentication”: “^3.0.0”,
“cordova-plugin-firebase-dynamiclinks”: “^4.2.0”,
“cordova-plugin-globalization”: “^1.11.0”,
“cordova-plugin-inappbrowser”: “^3.1.0”,
“cordova-plugin-ionic-keyboard”: “^2.1.3”,
“cordova-plugin-local-notification”: “^0.9.0-beta.2”,
“cordova-plugin-network-information”: “^2.0.2”,
“cordova-plugin-pincheck”: “0.0.6”,
“cordova-plugin-qrscanner”: “^3.0.1”,
“cordova-plugin-splashscreen”: “^5.0.3”,
“cordova-plugin-statusbar”: “^2.4.3”,
“cordova-plugin-uniquedeviceid”: “^1.3.2”,
“cordova-plugin-whitelist”: “^1.3.4”,
“cordova-plugin-x-socialsharing”: “^5.4.7”,
“cordova-sqlite-storage”: “^3.2.1”,
“cordova-support-android-plugin”: “^1.0.1”,
“cordova-support-google-services”: “https://github.com/LuisEGR/cordova-support-google-services.git”,
“cordova-universal-links-plugin”: “git+https://github.com/walteram/cordova-universal-links-plugin.git”,
“cordova-universal-links-plugin-fix”: “1.2.1”,
“cordova.plugins.diagnostic”: “^5.0.0”,
“core-js”: “^3.2.1”,
“es6-promise-plugin”: “^4.2.2”,
“firebase”: “^5.11.1”,
“google-protobuf”: “^3.9.1”,
“ionic”: “^5.2.3”,
“ionic-angular”: “3.9.2”,
“ionic-selectable”: “^3.4.0”,
“ionic2-super-tabs”: “^5.1.1”,
“ionicons”: “3.0.0”,
“jquery”: “^3.4.1”,
“js-joda”: “^1.5.4”,
“nem-library”: “^1.0.9”,
“nem-sdk”: “^1.6.7”,
“ngx-qrcode2”: “0.0.9”,
“q”: “^1.5.1”,
“rxjs”: “^5.5.2”,
“scrypt-async”: “^2.0.1”,
“sw-toolbox”: “3.6.0”,
“ts-retry”: “^1.0.15”,
“zone.js”: “0.8.26”
},
“devDependencies”: {
@angular-devkit/architect”: “~0.13.8”,
@angular-devkit/build-angular”: “~0.13.8”,
@angular-devkit/core”: “~7.3.8”,
@angular-devkit/schematics”: “~7.3.8”,
@angular/cli”: “~7.3.8”,
@angular/compiler”: “~7.2.2”,
@angular/compiler-cli”: “~7.2.2”,
@angular/language-service”: “~7.2.2”,
@ionic/angular-toolkit”: “~1.5.1”,
@ionic/app-scripts”: “3.1.11”,
@ionic/lab”: “1.0.13”,
@types/jquery”: “^3.3.31”,
@types/node”: “~12.0.0”,
“codelyzer”: “~4.5.0”,
“cross-env”: “^5.2.0”,
“csvtojson”: “^2.0.8”,
“file-system”: “^2.2.2”,
“ionic-mocks”: “^1.3.0”,
“jasmine-core”: “~2.99.1”,
“jasmine-spec-reporter”: “~4.2.1”,
“karma”: “~4.1.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”,
“line-reader”: “^0.4.0”,
“line-replace”: “^1.0.2”,
“mini-css-extract-plugin”: “^0.7.0”,
“node-xlsx”: “^0.15.0”,
“puppeteer”: “^1.19.0”,
“ts-node”: “~8.1.0”,
“ts-protoc-gen”: “^0.8.0”,
“tslint”: “~5.16.0”,
“typescript”: “^2.6.2”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-add-swift-support”: {},
“cordova-plugin-android-permissions”: {},
“cordova-plugin-android-safetynet”: {},
“cordova-plugin-app-version”: {},
“cordova-plugin-badge”: {},
“cordova-plugin-device”: {},
“cordova-plugin-email-composer”: {
“ANDROID_SUPPORT_V4_VERSION”: “27.+”
},
“cordova-plugin-file”: {},
“cordova-plugin-androidx”: {},
“cordova-plugin-androidx-adapter”: {},
“cordova-plugin-inappbrowser”: {},
“cordova-plugin-ionic-keyboard”: {},
“cordova-plugin-local-notification”: {},
“cordova-plugin-network-information”: {},
“cordova-plugin-pincheck”: {},
“cordova-plugin-qrscanner”: {},
“cordova-plugin-splashscreen”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova-plugin-statusbar”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova-plugin-uniquedeviceid”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova-plugin-whitelist”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova-plugin-x-socialsharing”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”,
“PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION”: “This app requires photo library access to function properly.”,
“PHOTO_LIBRARY_USAGE_DESCRIPTION”: “This app requires photo library access to function properly.”
},
“cordova-sqlite-storage”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova.plugins.diagnostic”: {
“ANDROID_SUPPORT_VERSION”: “28.+”
},
“com-darryncampbell-cordova-plugin-intent”: {},
“branch-cordova-sdk”: {},
“cordova-clipboard”: {},
“cordova-plugin-app-preferences”: {},
“cordova-plugin-firebase-authentication”: {
“FIREBASE_AUTH_VERSION”: “18.0.+”
},
“cordova-plugin-globalization”: {},
“cordova-plugin-background-mode”: {},
“cordova-plugin-advanced-http”: {
“OKHTTP_VERSION”: “3.10.0”
},
“cordova-plugin-firebase-dynamiclinks”: {
“PAGE_LINK_DOMAIN”: “xxxxxxxxx”,
“APP_DOMAIN”: “xxxxxxx”,
“FIREBASE_DYNAMIC_LINKS_VERSION”: “19.1.+”
},
“cordova-plugin-buildinfo”: {},
“cordova-plugin-browsertab”: {},
“cordova-plugin-customurlscheme”: {
“URL_SCHEME”: “health.centiva”,
“ANDROID_SCHEME”: " ",
“ANDROID_HOST”: " ",
“ANDROID_PATHPREFIX”: “/”
},
“cordova-universal-links-plugin”: {}
},
“platforms”: [
“browser”,
“android”,
“ios”
]
},
“browser”: {
“fs”: false,
“path”: false,
“os”: false,
“tls”: false,
“net”: false
}
}