Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upgrade to @angular/material 13.3.9 #4

Open
jdang67 opened this issue Sep 7, 2022 · 0 comments
Open

Cannot upgrade to @angular/material 13.3.9 #4

jdang67 opened this issue Sep 7, 2022 · 0 comments

Comments

@jdang67
Copy link

jdang67 commented Sep 7, 2022

To upgrade to angular-material@13, I need to use the --force option otherwise, I cannot upgrade
ng update --force @angular/material@13

After upgrading to angangular-material@13, npm start throw the following error

1./src/styles.scss - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: 'Hue "A300" does not exist in palette. Available hues are: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700, contrast'
   
55      lighter: _get-color-from-palette($base-palette, $lighter),```
@jdang67 jdang67 changed the title @angular/material 13.3.9 Cannot upgrade to @angular/material 13.3.9 Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant