Closed jonathangreco closed 4 years ago
I've encountered this problem as well, but am not using this particular module and using Bootstrap in my own project. Somehow my Webpack Encore project is unable to compile Bootstrap's SCSS...
So you say it's coming from bootstrap with webpack encore thanks !
Yeah, I guess so!
Edit: FWIW, my setup even generates this error while I've commented out all custom SCSS and only am including @import "~bootstrap/scss/bootstrap";
.
Edit 2: Even more funky, if I'm using my standalone sass
compiler, I'm not experiencing any issues when using a relative path to the required bootstrap package @import "../../node_modules/bootstrap/scss/bootstrap.scss";
. So this seems to be a problem in Encore? Or something in the config maybe.
Hey! What about posting an issue in bootstrap's repo then or symfony-encore depends on your guesses ? Your tests are more advanced than mine to write a better issue.
If you don't mind.
Agreed, this probably does not belong in this repo, though I'm having the feeling that this might be a implementation problem and maybe not even related to any external package. Therefor I'm thinking we might have the same implementation mistake. In any case; I don't think this is a bootstrap
issue.
But, I'll postpone any response to this issue until I have anything of use for this package.
FWIW: This issue seems related.
Updating @symfony/webpack-encore
and all packages that break after that seem to have fixed the problem for me.
thanks for the feedback on this one :) have fun
After a fresh install with a old package.json I've experienced a regression in bootstrap.scss
Here's my package.json.
This fresh install blocked me, as a workaround I had to use an old yarn.lock to make it work.
Any idea ?
I use this with webpack encore and Symfony.
full Error