-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dart-sass error since bootstrap 5.3.3 #39978
Comments
Problem seems to happen since this commit from @julien-deramond , and more specifically, from the last line in
|
Is this still an issue? I haven't run into anything locally myself. |
@mdo Yes, this is still an issue. I can reproduce it on my localhost with everything up to date. |
I can confirm that there's an issue when launching The following worked:
I also tried changing the Node and Vite versions, but the error persisted. The problem appears to be linked to Based on these elements only, I might be wrong but I'd say that our Sass files are correctly written and shouldn't need to be reverted. The issue might lie directly within It might be useful to further isolate the issue by removing Vite from the equation and seeing if the problem persists. If anyone from the community has time to try this, it would be greatly appreciated. |
Prerequisites
Describe the issue
Since bootstrap 5.3.3, dart-sass 1.77.1 is not compiling.
If I go back to bootstrap 5.3.2, everything is fine. If I switch to original sass 1.77.1, everything is fine.
Error in console:
Reduced test cases
You can try this devbox with bootstrap 5.3.3.
npm start
failsNow in package.json , change bootstrap to 5.3.2, then
npm i && npm start
. It works.I only imported 2 files in index.sass, for minimum case. First is
functions.scss
which seems to be ok in both versions, second isvariables.scss
, which fails in 5.3.3.https://codesandbox.io/p/devbox/competent-mahavira-4vgdjg?embed=1&file=%2Fpackage.json
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
5.3.3
The text was updated successfully, but these errors were encountered: