I have an Angular 8 app and I want to add Ionic to it.
ng add @ionic/angular gives me error:
Cannot read properties of undefined (reading 'options').
The only change that is saved is the adding of
"@ionic/angular": "^5.9.4", to the package.json file.
Note that I run
ng add @ionic/angular against a test project generated with
ng new --minimal using Angular CLI 8.3.29. If the latest Angular CLI is used (14.0.2) for scaffolding,
ng add @ionic/angular works fine.
I’m absolutely new to Ionic. Do I miss something?
PS: The OS is Windows 10.