I am attempting to update angular material and the cdk from version 7 to 8. Package update goes fine for both but the migration for both fail every time with a very "helpful" error of
Cannot read property 'green' of undefined Migration failed. See above for furhter details.
I am having a really tough time trying to track where this could be coming from. I have done a generic search accross my project for "green" and got nothing. I have wipe my node_modules and reinstalled but continue to get this.
I even got this when trying to execute just the migration alone with a
ng update @angular/material@8 --migrationOnly=true --from=7 --to=8
Any suggestions/help would be much appreciated.
ng update @angular/material@8 --allow-dirty --force
. Re ran command with --verbose=true to try and get better info and it ran without giving me the error again!! – Messiah