You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Could not find an NgModule. Use the skip-import option to skip importing in NgModule. #5100
Seems like the CLI doesn't understand Angular 19 standalone conmponent. I am unable to create a page using:
FYI: Standalone component is now the default.
ionic g page pages/home
Getting the following error
> ng generate page pages/home --project=app
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
[ERROR] Could not generate page.
Activity
rajinder-yadav commentedon Dec 25, 2024
This is also not supported
$ ionic g page pages/home --skip-import > ng generate page pages/home --skip-import --project=app Error: Unknown argument: skip-importrajinder-yadav commentedon Dec 25, 2024
I am baffled using ionic CLI, why is it trying to use the project 'app' and then failing?
rajinder-yadav commentedon Dec 26, 2024
I forgot to mention, I added Ionic after generating an angular application using the Angular CLI.
Ionic was adding using the following step:
https://ionicframework.com/docs/intro/cdn#ionic--angular