Topic: Stepper.scss and datepicker.scss are causing build to fail
Dharmendra Prasad asked 6 years ago
Expected behavior I am trying to build my app for production. Expected behavior is that the project should build properly without errors
Actual behavior mdb pro imports the stepper.scss and datepicker.scss. These files contain errors. For e.g:
ERROR in ./resources/assets/sass/vendor.scss Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
& ul.stepper.horizontal .step-new-content, ^ Top-level selectors may not contain the parent selector "&". ╷ 332 │ ┌ & ul.stepper.horizontal .step-new-content, 333 │ │ & ul.stepper.horizontal .step-actions { │ └────────────────────────────────────────^
and
.picker__frame:not() { min-height: 625px !important; } in datepicker. not() without a selector.
So, I request you to either provide a fix or help me ignore these two libraries scss. Because my build runs on Jenkins and it never passes due to this. When I remove these lines from the respective files and run the build, every works fine, but that cant be a solution for CI.
Thanks for your help and support.
Resources (screenshots, code snippets etc.)
Arkadiusz Idzikowski staff answered 6 years ago
MDB Angular doesn't support angular 8 yet (and those errors are caused by new sass compiler that angular 8 use), but we are already working on it.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.1
- Device: Desktop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No