Running the command ionic cordova run ios --prod gets the output:
ionic cordova run ios --prod
[20:13:47] ionic-app-scripts 3.1.11 [20:13:47] build prod started ... [20:13:47] clean started ... [20:13:47] clean finished in 3 ms [20:13:47] copy started ... [20:13:47] deeplinks started ... [20:13:47] deeplinks finished in 137 ms [20:13:47] ngc started ... [20:14:00] typescript error Cannot determine the module for class WomenPage in /Users/alexmarginean/Documents/Fedora stuff/Fedora-app/src/pages/women/women.ts! Add WomenPage to the NgModule to fix it.
[20:14:00] ionic-app-script task: "build" [20:14:00] Error: The Angular AoT build failed. See the issues above Error: The Angular AoT build failed. See the issues above at /Users/alexmarginean/Documents/Fedora stuff/Fedora-app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55 at step (/Users/alexmarginean/Documents/Fedora stuff/Fedora-app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23) at Object.next (/Users/alexmarginean/Documents/Fedora stuff/Fedora-app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53) at fulfilled (/Users/alexmarginean/Documents/Fedora stuff/Fedora-app/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 ios exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Metadata Update from @amitosh: - Issue tagged with: gci, gci-results, iOS
The error says: "Cannot determine the module for class WomenPage in /Users/alexmarginean/Documents/Fedorastuff/Fedora-app/src/pages/women/women.ts!"
Is there such typescript file in the pages of the project?
<img alt="Screenshot_from_2019-03-20_10-33-17.png" src="/Fedora-app/issue/raw/files/ef052d0084624d809af1686cc1bd379b4cd901e9280cf6bdeab0ed470bd5b82a-Screenshot_from_2019-03-20_10-33-17.png" />
Log in to comment on this ticket.