Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Can’t build apk

$
0
0

@dunghoang69 wrote:

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

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>