E:\ionic app\ionicc1>ionic run android --prod
Vaioti@ ionic:build E:\ionic app\ionicc1
ionic-app-scripts build "--prod"
[13:48:13] ionic-app-scripts 1.3.4
[13:48:13] build prod started ...
[13:48:13] clean started ...
[13:48:13] clean finished in 6 ms
[13:48:13] copy started ...
[13:48:13] ngc started ...
[13:48:20] ionic-app-script task: "build"
[13:48:20] TypeError: Cannot read property 'codeGen' of undefined
TypeError: Cannot read property 'codeGen' of undefined
at Object.doCodegen (E:\ionic app\ionicc1\node_modules\@ionic\app-scripts\dist\aot\codegen.js:6:50)
at E:\ionic app\ionicc1\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:42:30
Your system information:
ordova CLI: 6.5.0
Ionic Framework Version: 2.0.0-rc.5-201701232249
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v4.4.5
Xcode version: Not installed
Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.