-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful
Milestone
Description
Reproduction
Steps to reproduce:
- Remove
postinstallscript and update core and universal (commit) - Run
ng update @angular/material --migrate-only --from 8 --to 9
** Executing migrations of package '@angular/material' **
❯ Updates Angular Material to v9
Cannot read property 'yellow' of undefined
✖ Migration failed. See above for further details.npm i --save-dev chalk(installs3.0.0)- Run
ng update @angular/material --migrate-only --from 8 --to 9
** Executing migrations of package '@angular/material' **
❯ Updates Angular Material to v9
Cannot read property 'yellow' of undefined
✖ Migration failed. See above for further details.npm i --save-dev [email protected](commit)- Run
ng update @angular/material --migrate-only --from 8 --to 9 - Successful update
Expected Behavior
chalk should not be required as a dev or peer dependency. Angular CLI builders currently appear to use 2.4.2.
The migration should succeed.
Actual Behavior
Exception as indicated above.
Environment
- Angular: 9.0.0-rc.3
- CDK/Material: 9.0.0-rc.2
- Browser(s): N/A
- Operating System (e.g. Windows, macOS, Ubuntu): macOS Catalina
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful