Issue
When I try and run ionic cordova run android --device
in order to run my ionic app off of my phone I recieve this error.
Cannot find module '@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/utils
However, @angular-devkit/build-angular
is installed, as it's there in my package.json
. I've already tried npm install
after deleting it but no luck.
My ionic is version ~5.5.2
And my @angular-devkit/build-angular is version ~0.1100.5
Solution
- Change package.json file @angular-devkit/build-angular": "~0.1000.0"
- rm -rf node_module
- run npm i
I solved perfectly :).
Answered By - joseph NK
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.