bug: ng add @ionic/angular@next throws error when add to Angular project (Angular 9 Ivy + Ionic RC4), have PR
See original GitHub issueBug Report
Ionic version:
[x] 5 RC4
Current behavior:
With @next
ng add @ionic/angular@next --project=mobile
throws the following error:
E:\my-workspace>ng add @ionic/angular@next --project=mobile
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Could not find file for path: projects/mobile/projects/mobile/src/app/app.module.ts
With normal
ng add @ionic/angular --project=mobile
throws the following error:
E:\my-workspace>ng add @ionic/angular --project=mobile
Installing packages for tooling via npm.
Installed packages for tooling via npm.
The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support.
Steps to reproduce:
ng new my-workspace --createApplication="false"
cd my-workspace
ng generate application mobile
ng add @ionic/angular --project=mobile
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
bug: ng add @ionic/angular@next throws error when ... - GitHub
bug: ng add @ionic/angular@next throws error when add to Angular project (Angular 9 Ivy + Ionic RC4), have PR #20435.
Read more >Angular 9 ng new myapp gives error The Schematic workflow ...
First ,verify your NPM cached memory npm cache verify. then try : npm cache clean --force npm install –g @angular/cli@latest ng new ...
Read more >ng add - Angular
Option Description Value Type Default Value
‑‑force Force overwriting of existing files. boolean false
‑‑interactive Enable interactive input prompts. boolean true
‑‑registry The NPM registry to...
Read more >@ionic/angular - npm
Start using @ionic/angular in your project by running `npm i ... ng new add-test // Say yes to including the router, we need...
Read more >Massive updates with version 11 of Angular - Ionic Blog
ng update @angular/core @angular/cli npm install ... But since Ivy shipped in version 9, the team has been able to refocus their efforts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/20436 and will be available in an upcoming release of Ionic Framework.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.