An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/utils' Require stack:

Hi. Friends, i tried to build my project in android. But when i do it, it shows me this error. I tried updating angular, using other commands like “ionic repair” or “npm i -D @angular-devkit/build-angular@latest” and the error is the same. How can i solve it?. I thank you in advance

1 Like

Having the exact same problem after updating to Ionic CLI 6.12.4… did you solved it ?

No. I just created a new project.

If anyone still has their faulty project, I would be interested in seeing the ‘ionic info’ output and the content of package.json.
My main thought is that something is missing from the project.

In your project directory run this command npm i @ionic/angular-toolkit@latest

See GitHub issue link here…

If you installed Android platform now remove it by ionic cordova platform rm android.
Now play ionic cordova build android --prod

Happy coding
For Ionic help reach me