Open SanatbekMatlatipov opened 5 years ago
i have same error, someone have solve this?
i have also same issue some one solve this
i have found issues while doing ng serve
ERROR in ./src/app/theme/component/theme-switcher/theme-switcher.component.scss Module build failed (from ./node_modules/sass-loader/lib/loader.js):
@return mix(white, $color, $percentage);
^
Argument $color-2
of mix($color-1, $color-2, $weight: 50%)
must be a color
in /home/emilence/Desktop/angular/adminproject/node_modules/@nebular/theme/styles/core/_functions.scss (line 9, column 11)
Anyone has the solve for this??? I'm getting the same error in my project:
ERROR in ./src/app/shared/filter-modal/filter-modal.component.scss Module build failed (from ./node_modules/sass-loader/lib/loader.js):
$error-msg: " ^ Expected ". ╷ 6 │ $error-msg: " │ ^ ╵ node_modules/ionic-angular/themes/ionic.functions.scss 6:16 root stylesheet node_modules/ionic-angular/themes/ionic.globals.scss 7:9 @import src/theme/theme-variables.scss 17:9 @import stdin 1:9 root stylesheet
My code works perfectly until I cleaned the npm cache folder and update the version of my libs...
Anyone help with this
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
@import "ionic.globals"; // Shared Variables ^ Can't find stylesheet to import. ╷ 4 │ @import "ionic.globals"; // Shared Variables │ ^^^^^^^^^^^^^^^ ╵ stdin 4:9 root stylesheet
ERROR in ./src/main/webapp/app/@theme/components/header/header.component.scss (./node_modules/css-loader/dist/cjs.js!./node_module s/sass-loader/lib/loader.js??ref--10-2!./src/main/webapp/app/@theme/components/header/header.component.scss) Module build failed (from ./node_modules/sass-loader/lib/loader.js):
`@import '../../styles/themes'; @import '~bootstrap/scss/mixins/breakpoints'; @import '~@nebular/theme/styles/global/breakpoints';
@include nb-install-component() { display: flex; justify-content: space-between; width: 100%;
.left { display: flex; width: 100%; order: 0; flex-direction: row; } .right { order: 1; flex-direction: row-reverse; }
.logo-containter { display: flex; align-items: center; width: calc(#{nb-theme(sidebar-width)} - #{nb-theme(header-padding)}); }
.control-item { display: block; }
.header-container { display: flex; align-items: center; width: auto;
}
@include nb-for-theme(corporate) { $menu-action-separator-color: #3f4550;
}
ngx-layout-direction-switcher { margin: 0 1.5rem; }
ngx-theme-switcher { margin: nb-theme(layout-padding); margin-top: 0; margin-bottom: 0; }
@include media-breakpoint-down(xl) { ngx-layout-direction-switcher { display: none; } }
.toggle-settings /deep/ a { display: block; text-decoration: none; line-height: 1;
}
@include keyframes(pulse) { 0% { box-shadow: 0 0 1px 0 rgba(nb-theme(color-fg-highlight), 0); } 20% { box-shadow: 0 0 3px 10px rgba(nb-theme(color-fg-highlight), 0.4); } 100% { box-shadow: 0 0 5px 20px rgba(nb-theme(color-fg-highlight), 0); } }
@include keyframes(pulse-light) { 0% { box-shadow: 0 0 1px 0 rgba(115, 255, 208, 0); } 20% { box-shadow: 0 0 3px 10px rgba(115, 255, 208, 0.4); } 100% { box-shadow: 0 0 5px 20px rgba(115, 255, 208, 0); } }
@include media-breakpoint-down(md) {
Can someone help me with this error!!!!