alertController erro

I am having problem with the alertController because it in the --prod option does not work the alert buttons. Does anyone else have this problem?

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2


Android SDK Tools : 26.1.1
Node              : v7.3.0
npm               : 3.10.10
OS                : Linux 4.4

Environment Variables:

ANDROID_HOME : /home/admin01/android_sdk_ionic/


backend : legacy

Probably unrelated, but it looks as though you haven’t updated your Node in over a year. Lots of security vulnerabilities. Best to update to the current LTS.

Ok! I go see it´s “Node”

I still have the same problem even updating node js

What does your alert controller code look like?