Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

mdc-fab mixin not found after update to angular 9 / angular mdc 5.0.0 canary #2052

@gpulido

Description

@gpulido

Describe the bug
I'm trying to update my project to use angular 9 so I updated also angular-mdc-web to 5.0.0 canary.
I have just removed the node_modules, made a fresh npm install and after running ng serve I'm receiving the following error:

ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js??ref--15-3!./src/styles.scss)
Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js):
SassError: Undefined mixin.
  ╷
4 │   @include mixins.extended-fluid;
  │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  node_modules\@angular-mdc\theme\extend\mdc-fab.scss 4:3  @use
  node_modules\@angular-mdc\theme\material.scss 2:1        @import
  src\styles\app.scss 5:9                                  @import
  <path_redacted>\archery-annotation\src\styles.scss 2:9                                                root stylesheet

Where app.scss:

@import "./color-palette";
@import "./global";

@import "~@angular-mdc/theme/material";

What Angular MDC version are you using?
5.0.0-canary.cc1e3fb

What OS are you using?:
Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions