# Ionic Cordova Build issue with --prod

**URL:** <https://forum.ionicframework.com/t/ionic-cordova-build-issue-with-prod/220650>\
**Category:** Ionic Angular\
**Created:** [February 19, 2022, 6:29pm UTC](https://forum.ionicframework.com/t/ionic-cordova-build-issue-with-prod/220650 "2022-02-19T18:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saajan-bajaj92](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@saajan-bajaj92](https://forum.ionicframework.com/u/saajan-bajaj92)\
**Post date:** [February 19, 2022, 6:29pm UTC](https://forum.ionicframework.com/t/ionic-cordova-build-issue-with-prod/220650/1 "2022-02-19T18:29:15Z")

</div>

I’m facing this issue while generating the APK for android using this command ionic cordova build android --prod

ERROR in scripts.4dd46e4e75fa5c13961c.js from Terser  
Unexpected token: punc (.) [scripts.4dd46e4e75fa5c13961c.js:2413,45]  
[ERROR] An error occurred while running subprocess ng.

Kindly help ASAP
