Im trying to upgrade my angular version from 12 to 13 but getting error "An unhandled exception occurred: Cannot destructure property 'styles' of 'buildOptions.sourceMap' as it is undefined."
Im using below command which is provide on offitial site npx @angular/cli@13 update @angular/core@13 @angular/cli@13
please anyone can help me
Unfortunately, I was not able to find a valid spot to add
sourceMapconfiguration inangular.json. What I did do successfully was reset the file by creating a new project and copying the contents of the newangular.jsonto my old project and then change the project name everywhere that is doesn't match.An example version of that file is below: