ionic-team / angular-toolkit

Angular Schematics and Builders for `@ionic/angular` apps.
MIT License
69 stars 30 forks source link

bug: Adding Ionic to existing Angular 16 standalone app fails #498

Closed joelmeaders closed 12 months ago

joelmeaders commented 1 year ago

Adding Ionic to existing Angular standalone app fails

Steps to reproduce:

  1. Make a new workspace ng new --create-application=false --new-project-root=apps myworkspace
  2. Go into workspace and add a new angular project with any options: ng g application --standalone=true --strict=true
  3. Configure ionic in workspace: ionic init --multi-app
  4. Add Ionic to app: ng add @ionic/angular --project=myappname

Step 4 fails with: Could not find file for path: apps/myapp/src/app/app.module.ts

liamdebeasi commented 12 months ago

This should be fixed in Ionic Framework v7.5.6: https://github.com/ionic-team/ionic-framework/issues/28523