@Xteve wrote:
I can not create any apk in ionic. I have installed the last version of ionic, cordova, sdk, node. The problem persists when I try to run any of my apps.
I write : ionic cordova run android --prod --releasethe shown error ;
E:/ionic/FireDato/src/app/app.module.ts and EdicionPageModule in E:/ionic/FireDato/src/pages/edicion/edicion.module.ts. You can also create a new NgModule that exports and includes EdicionPage in E:/ionic/FireDato/src/pages/edicion/edicion.ts then import that NgModule in AppModule in E:/ionic/FireDato/src/app/app.module.ts and EdicionPageModule in E:/ionic/FireDato/src/pages/edicion/edicion.module.ts. [19:07:31] ionic-app-script task: "build" [19:07:31] Error: The Angular AoT build failed. See the issues above Error: The Angular AoT build failed. See the issues above at E:\ionic\FireDato\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:237:55 at step (E:\ionic\FireDato\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:32:23) at Object.next (E:\ionic\FireDato\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:13:53) at fulfilled (E:\ionic\FireDato\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:4:58) [ERROR] An error occurred while running subprocess ionic-app-scripts. ionic-app-scripts build --prod --target cordova --platform android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Posts: 2
Participants: 2