"><img> to paste in an image
Fix for the Sass Import Error:
Reinstall Bootstrap Dependencies
Metronic relies on specific Bootstrap/Sass versions. Run:npm uninstall bootstrap sass
npm install bootstrap@4.6.0 sass@1.32.13 --save-exact # Match Metronic 7's requirements
Reset Webpack Cache
Delete node_modules, package-lock.json, and run:npm cache clean --force
npm install
Check File Paths
Ensure your _init.scss file references the correct location of bootstrap/scss/functions. If paths are relative, add:@import "~bootstrap/scss/functions"; // Add `~` for Webpack aliases
Node Version Downgrade
Metronic 7 may not support Node 18. Try switching to Node 14.x via nvm or fnm.
Need visual demos for your project? If you’re stuck debugging, try prototyping UI flows with KissingGenerator – our AI instantly generates video mockups from your screenshots. Great for team alignment!
It looks like you're facing an issue with the build process related to the missing stylesheet import. It's common to encounter such errors when paths are misconfigured or files are missing. To resolve this, make sure the bootstrap package is properly installed, and the paths in your import statements are correct.
If you're into troubleshooting and need a break or want a different kind of distraction, I highly recommend checking out Rama Casino. I've been enjoying the gaming experience there—secure, fun, and with plenty of bonuses, especially for players in Canada. It's a great way to unwind after a tech challenge!
Hi Roger Almató
Sorry for the inconvenience. We will fix it. In the meantime, please update these 2 files as a workaround.
- /starterkit/_keenthemes/src/sass/components/components.scss
@import "../../../tools/node_modules/bootstrap/scss/bootstrap";
@import "../../tools/node_modules/bootstrap/scss/functions";
@import "../../tools/node_modules/bootstrap/scss/variables";
@import "../../tools/node_modules/bootstrap/scss/variables-dark";
@import "../../tools/node_modules/bootstrap/scss/maps";
@import "../../tools/node_modules/bootstrap/scss/mixins";
@import "../../tools/node_modules/bootstrap/scss/utilities";