No mixin named md-core
See original GitHub issueHi everybody I have problem using this plugin.
ERROR in ./~/css-loader!./~/postcss-loader!./~/sass-loader!./src/app-theme.scss
Module build failed:
undefined
^
No mixin named md-core
Backtrace:
stdin:6
in D:\Projects\frontend-webapp\src\app-theme.scss (line 6, column 10)
@ ./src/app-theme.scss 4:14-162
@ multi ./src/styles.css ./src/app-theme.scss
ERROR in ./src/app-theme.scss
Module build failed: ModuleBuildError: Module build failed:
undefined
^
No mixin named md-core
Backtrace:
stdin:6
in D:\Projects\frontend-webapp\src\app-theme.scss (line 6, column 10)
at D:\Projects\frontend-webapp\node_modules\webpack\lib\NormalModule.js:141:35
at D:\Projects\frontend-webapp\node_modules\loader-runner\lib\LoaderRunner.js:364:11
at D:\Projects\frontend-webapp\node_modules\loader-runner\lib\LoaderRunner.js:230:18
at context.callback (D:\Projects\frontend-webapp\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.onRender (D:\Projects\frontend-webapp\node_modules\sass-loader\index.js:273:13)
at Object.<anonymous> (D:\Projects\frontend-webapp\node_modules\async\dist\async.js:2234:31)
at apply (D:\Projects\frontend-webapp\node_modules\async\dist\async.js:20:25)
at Object.<anonymous> (D:\Projects\frontend-webapp\node_modules\async\dist\async.js:56:12)
at Object.callback (D:\Projects\frontend-webapp\node_modules\async\dist\async.js:840:16)
at options.error (D:\Projects\frontend-webapp\node_modules\node-sass\lib\index.js:294:32)
ERROR in D:\Projects\frontend-webapp\node_modules\extract-text-webpack-plugin\loader.js?{"omit":1,"remove":false,"publicPath":""}!D:\Projects\frontend-webapp\node_modules\style-loader\index.js!D:\Projects\frontend-webapp\node_modules\css-loader\index.js!D:\Projects\frontend-webapp\node_modules\postcss-loader\index.js!D:\Projects\frontend-webapp\node_modules\sass-loader\index.js!D:\Projects\frontend-webapp\src\app-theme.scss doesn't export content
any body have solution for me ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
No mixin named md-core · Issue #96 - GitHub
I have the same problem. broken build? All reactions.
Read more >Angular-mdc returning "No mixin named mdc-top-app-bar-fill ...
Thinking about this more, I'm wondering if the best way to do it would be to import '~@angular-mdc/theme/material' in a "top level" scss...
Read more >Working with Angular 2 Material
Create a MEAN App Called CodePost - Full Stack ... This, of course, is not a mandatory step when working with ... No...
Read more >error: no mixin named focus-border office ui fabric react.Issue ...
I have created a sharepoint react framework solution.This solution uses List Component.I now want to use the (https://github.com/OfficeDev/ ...
Read more >Dilute Surfactant Methods for Carbonate Formations - OSTI.gov
Figure 20: Plateau adsorption densities of surfactants with and without the ... with crude oil in 1:1 ratio for a period of 2...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
only change all md with mat, this is my scss file:
@import ‘…/node_modules/@angular/material/core/theming/all-theme’; // Plus imports for other components in your app.
// Include the base styles for Angular Material core. We include this here so that you only // have to load a single css file for Angular Material in your app. @include mat-core();
// Define the palettes for your theme using the Material Design palettes available in palette.scss // (imported above). For each palette, you can optionally specify a default, lighter, and darker // hue. $candy-app-primary: mat-palette($mat-blue); $candy-app-accent: mat-palette($mat-light-blue, A200, A100, A400);
// The warn palette is optional (defaults to red). $candy-app-warn: mat-palette($mat-red);
// Create the theme object (a Sass map containing all of the palettes). $candy-app-theme: mat-light-theme($candy-app-primary, $candy-app-accent, $candy-app-warn);
// Include theme styles for core and each component used in your app. // Alternatively, you can import and @include the theme mixins for each component // that you are using. @include angular-material-theme($candy-app-theme);
Hi Also you can update angular cli and other lib and use mat-core instead of md-core.