Topic: File to import not found or unreadable: core/bootstrap/functions.
elemech premium asked 5 years ago
ng serve
yields this result for me:
ERROR in ./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss (./node_modul
es/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js
!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/load
er.js??ref--14-3!./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
@import "core/bootstrap/functions";
^
File to import not found or unreadable: core/bootstrap/functions.
in C:\node_apps\eds4\client\node_modules\ng-uikit-pro-standard\assets\scss
\mdb.scss (line 31, column 1)
i ?wdm?: Failed to compile.
angular.json
"styles": [
"node_modules/@progress/kendo-theme-material/dist/all.css",
"node_modules/font-awesome/scss/font-awesome.scss",
"node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
"node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
"node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
"node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
"node_modules/ng-uikit-pro-standard/assets/scss/bootstrap/bootstrap.scss",
"node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss",
"src/styles.scss"
],
package.json
"ng-uikit-pro-standard": "git+https://oauth2:XXXXX_XXXXX@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git",
ng --version
Angular CLI: 7.3.2
Node: 8.12.0
OS: win32 x64
Angular: 7.2.5
Package Version
-----------------------------------------
@angular-devkit/architect 0.11.4
@angular-devkit/build-angular 0.11.4
@angular-devkit/build-optimizer 0.11.4
@angular-devkit/build-webpack 0.11.4
@angular-devkit/core 7.0.7
@angular-devkit/schematics 7.3.2
@angular/cdk 7.3.2
@angular/cli 7.3.2
@angular/material 7.3.2
@angular/pwa 0.10.7
@ngtools/webpack 7.1.4
@schematics/angular 7.3.2
@schematics/update 0.13.2
rxjs 6.4.0
typescript 3.2.4
webpack 4.23.1
Damian Gemza staff answered 5 years ago
Dear Elemech,
Please downgrade your npm version to the 6.4.1, and the problem will be resolved.
We'll investigate this case on our end, and we'll check if this is something wrong in our project.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 7 64-bit
- Provided sample code: Yes
- Provided link: No