Erro on run command "ionic cordova run android --prod --release"

$ ionic info

cli packages: (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules)

    @ionic/cli-plugin-cordova       : 1.6.2
    @ionic/cli-plugin-ionic-angular : 1.4.1
    @ionic/cli-utils                : 1.7.0
    ionic (Ionic CLI)               : 3.7.0

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.4.0 windows 5.0.0
    Ionic Framework    : ionic-angular 3.6.0

System:

    Node : v6.11.2
    OS   : Windows 10
    npm  : 5.3.0
$ ionic cordova run android --prod --release
Running app-scripts build: --prod --address 0.0.0.0 --port 8100 --p 8100 --livereload-port 35729 --r 35729 --iscordovaserve --nobrowser

[06:47:58]  build prod started ...
[06:47:58]  clean started ...
[06:47:58]  clean finished in 2 ms
[06:47:58]  copy started ...
[06:47:58]  ngc started ...
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova).
Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 6:21 in the original .ts file), resolving symbol Auth in D:/Desenvolvimento/xampp/htdocs/reciklado/src/decorators/auth.decorator.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts

account.ts

import { Component } from '@angular/core';
import {Platform, NavController, NavParams, IonicPage} from 'ionic-angular';
import { GoogleAnalytics } from '@ionic-native/google-analytics';
import { Auth } from '../../decorators/auth.decorator';

@Auth()
@IonicPage(
    {
        name: 'AccountPage'
    }
)
@Component({
  selector: 'page-account',
  templateUrl: 'account.html'
})

export class AccountPage {

  constructor(public platform: Platform,
              public navCtrl: NavController,
              public navParams: NavParams,
              private ga: GoogleAnalytics
              ) {


      this.platform.ready().then(() => {

          // Google Analytics
          this.ga.startTrackerWithId('UA-80919104-2')
              .then(() => {
                  this.ga.trackView('account');
                  // Tracker is ready
                  // You can now track pages or set additional information such as AppVersion or UserId
              })
              .catch(e => console.log('Error starting GoogleAnalytics', e));
      });
  }

}

auth.decorator.ts

import { appContainer } from "../app/app.container";
import { AuthProvider } from "../providers/auth/auth";
import { Nav } from "ionic-angular";
import { LoginPage } from "../pages/login/login";

export const Auth = () => {
  return (target: any) => {
    target.prototype.ionViewCanEnter = function() {
      let property =
          Object
            .keys(this)
            .find(value => this[value] instanceof Nav);

      if(typeof property === "undefined"){
        setTimeout(() => {
            throw new TypeError("Auth decorator needs NavController instance.");
        });
        return false;
      }
      let auth = appContainer().get(AuthProvider);
      return auth.check().then(isLogged => {
          if(!isLogged) {
            setTimeout(() => {
              let navCtrl = this[property];
              navCtrl.setRoot(LoginPage);
            });
            return false;
          }
          return true;
      })
    }
  }
};

when run command: ionic cordova run android (work fine), but when i try command: ionic cordova run android --prod --release (show error)

Run ionic build please. No error, right?
Run ionic build --prod please. Same error? Then run ionic build --prod --verbose please.

ionic build (work fine)
ionic build --prod (same error)

ionic build --prod --verbose

$ ionic build --prod --verbose
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: 'D:\\Desenvolvimento\\xampp\\htdocs\\reciklado', local: true, binPath: 'C:\\Users\\Fred\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic', libPath: 'D:\\Desenvolvimento\\xampp\\htdocs\\reciklado\\node_modules\\ionic\\dist\\index.js' }
[DEBUG] Loading local plugin @ionic/cli-plugin-proxy
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for local @ionic/cli-plugin-proxy
[DEBUG] Loading local plugin @ionic/cli-plugin-cordova
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular
[DEBUG] Daemon found (pid: 3948)
[DEBUG] Getting plugin info for ionic
[DEBUG] Checking for latest plugin version of ionic@latest.
[DEBUG] Getting plugin info for @ionic/cli-plugin-cordova
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-cordova@latest.
[DEBUG] Getting plugin info for @ionic/cli-plugin-ionic-angular
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-ionic-angular@latest.
Running app-scripts build: --prod --log-level debug

[07:12:08]  build prod started ...
[07:12:08]  clean started ...
[07:12:08]  clean finished in less than 1 ms
[07:12:08]  copy started ...
[07:12:08]  ngc started ...
Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 6:21 in the original .ts file), resolving symbol Auth in D:/Desenvolvimento/xampp/htdocs/reciklado/src/decorators/auth.decorator.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts
[DEBUG] Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 6:21 in the original .ts file), resolving symbol Auth in D:/Desenvolvimento/xampp/htdocs/reciklado/src/decorators/auth.decorator.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts, resolving symbol AccountPage in D:/Desenvolvimento/xampp/htdocs/reciklado/src/pages/account/account.ts
        at positionalError (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:25104:35)
        at simplifyInContext (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24947:27)
        at StaticReflector.simplify (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24961:13)
        at StaticReflector.annotations (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24391:41)
        at NgModuleResolver.resolve (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:14733:70)
        at CompileMetadataResolver.getNgModuleMetadata (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:15386:60)
        at addNgModule (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24241:58)
        at D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24252:14
        at Array.forEach (native)
        at _createNgModules (D:\Desenvolvimento\xampp\htdocs\reciklado\node_modules\@angular\compiler\bundles\compiler.umd.js:24251:26)

OK, I looked into the error message. I doesn’t like this here:

The solution is also in the error message:

@Sujan12 how fix this? what do to fix my code

solve with this:
change const to function then export this function

please close this @Sujan12