Bootstrap/Sass compiling error
See original GitHub issueApologies in advance if this information is available somewhere.
I have a site which is up and running and wished to make edits. I cloned the Github to my local machine and ran npm install. I also ran bower install just in case. npm install resulted in the following lines of note:
npm WARN lifecycle enduro_mirror@1.0.0~postinstall: cannot run in wd %s %s (wd=%s) enduro_mirror@1.0.0 ./node_modules/bower/bin/bower install /home/******/dev/v2port npm WARN enduro_mirror@1.0.0 No repository field.
Upon running enduro dev, I receive the following error while it is attempting to compile the SASS:
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ Sass error ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ assets/css/vendor/bootstrap_selection.scss Error: File to import not found or unreadable: …/…/vendor/bootstrap/scss/normalize. Parent style sheet: /home/*****/dev/v2port/assets/css/vendor/bootstrap_selection.scss on line 5 of assets/css/vendor/bootstrap_selection.scss
@import ‘…/…/vendor/bootstrap/scss/normalize’; ^
▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲
Any thoughts? I’ve tried installing jquery and bootstrap locally (globally). I also used enduro theme to create a new mirror starter page and had no issues there, everything was normal.
I appreciate your time and assistance.
~J
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (1 by maintainers)

Top Related StackOverflow Question
Ok, This is the workaround that worked for me:
assets/css/vender/bootstrap_selection.scssfile to import directly from the node_modules folder located in the root project path, such as:@import '../../../node_modules/bootstrap/scss/normalize'npm installit manually."dependencies": { "jquery": "^3.1.1", "requirejs": "^2.3.2", "kiskabricks_wedgecss": "^1.0.0", "font-awesome": "^4.7.0" }bower installfrom the root project directory.enduro devand voila, no more sass compilation error!This probably isn’t best practice- but it’s what worked for me after trying so many different methods. Hopefully this helps run down the actual problem?
~J
Is this part of the problem?
https://github.com/twbs/bootstrap/issues/24068
It appears bower should no longer be used to install bootstrapv4.
Is there a workaround?