Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

Marcelo Gomes pro asked 5 years ago


Expected behavior On build, scss is ok

Actual behavior

ERROR in ./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--13-3!./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss) Module build failed (from ./node_modules/sass-loader/lib/loader.js):

.picker_frame:not() { ^ Expected selector. ╷ 54 │ .picker_frame:not(){ │ ^ ╵ node_modules\ng-uikit-pro-standard\assets\scss\angular\pro_data-picker.scss 54:20 @import node_modules\ng-uikit-pro-standard\assets\scss\angular\mdb-angular.scss 13:9 @import stdin 123:9 root stylesheet in node_modules\ng-uikit-pro-standard\assets\scss\angular\pro_data-picker.scss (line 54, column 20)

Resources (screenshots, code snippets etc.) The problem is inside of your own scss.

  • @angular/cdk@8.0.1
  • ngx-mask@7.9.10
  • @angular/material@8.0.1
  • @angular-devkit/build-angular@0.800.2
  • @angular/cli@8.0.2
  • @types/node@12.0.8
  • @fortawesome/fontawesome-pro@5.9.0
  • ng-uikit-pro-standard@7.5.4

Arkadiusz Idzikowski staff answered 5 years ago


MDB version compatible with Angular 8 should be available in two or three weeks.


Marcelo Gomes pro answered 5 years ago


Hi, I really need this update because my whole project was upgraded to angular 8.


Arkadiusz Idzikowski staff answered 5 years ago


This error occurs only when you use MDB Angular in project with Angular v8 (because in this version more strict sass compiler is used). MDB is not ready yet to be used with Angular 8, we are currently working on it.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.4
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags