bug: Could not find the implementation for builder @ionic/angular-toolkit:cordova-build
See original GitHub issueBug Report
Ionic version:
[x] *5.0.0
Current behavior:
running “ionic cordova run android” gives that error. Could not find the implementation for builder @ionic/angular-toolkit:cordova-build
insert the output from ionic info here
Ionic:
Ionic CLI : 5.0.0 (C:\Users\Mauro\AppData\Roaming\nvm\v10.16.0\node_modules\ionic) Ionic Framework : @ionic/angular 4.4.2 @angular-devkit/build-angular : 0.800.1 @angular-devkit/schematics : 8.0.1 @angular/cli : 8.0.1 @ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 7.1.4, ios 5.0.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 7 other plugins)
Utility:
cordova-res : not installed native-run : 0.2.1
System:
NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe) npm : 6.9.0 OS : Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:26 (7 by maintainers)
Thanks for your issue! This is not related to this repo. The reason: The builder API has changed with Angular 8. A PR for
@ionic/angular-toolkit
is already available but not published so far (see https://github.com/ionic-team/angular-toolkit/pull/132 )At the moment Angular 8 is not supported.
If you cannot wait (like me 😉), just replace
@ionic/angular-toolkit
inside angular.json withpaulstelzer-ionic-angular-toolkit
and runnpm i paulstelzer-ionic-angular-toolkit
. This is the build of the mentioned branch. After@ionic/angular-toolkit
got the new release you can use this againSeeing this too after upgrading to Angular 8 and trying to run an ionic cordova build.
Could not find the implementation for builder @ionic/angular-toolkit:cordova-build at WorkspaceNodeModulesArchitectHost.resolveBuilder (/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js:49:19) at RunCommand.runSingleTarget (/node_modules/@angular/cli/models/architect-command.js:176:55)