title: ionic cordova run android --prod not working
body: <p>when I try to run my app in a device by using <code>--prod</code> command I get this Error:</p>
  
  <p><a href="https://i.stack.imgur.com/rDXnc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rDXnc.png" alt="enter image description here"></a></p>
  
  <p>ionic info:</p>
  
  <pre><code>C:\Users\INPT1\Desktop\ionic3\myApp&gt;ionic info
  
  cli packages: `(C:\Users\INPT1\AppData\Roaming\npm\node_modules)`
  
      @ionic/cli-utils  : 1.19.0
      ionic (Ionic CLI) : 3.19.0
  
  Global packages:
  
      cordova (Cordova CLI) : 7.1.0
  
  Local packages:
  
      @ionic/app-scripts : 3.1.5
      Cordova Platforms  : none
      Ionic Framework    : ionic-angular 3.9.2
  
  System:
  
      Node : v6.10.0
      npm  : 5.5.1
      OS   : Windows 8.1
  
  Environment Variables:
  
      ANDROID_HOME : not set
  
  Misc:
  
      backend : pro
  </code></pre>