-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build Error with New Version #116
Comments
@briankgarland I think you might be using 'Live Sass Compiler' extension for VSCode, if so the sass version has more than likely not been updated and is not compatible with this package. You can use sass globally by running |
No, this was occurring in our Azure build pipeline. I'll have our DevOps guy look at it from his end. Thanks for the reply. |
Have the same error. Module build failed: ModuleBuildError: Module build failed:
margin-top: math.div($hamburger-layer-height, -2);
^
Invalid CSS after "...argin-top: math": expected expression (e.g. 1px, bold), was ".div($hamburger-lay" Have been tried all node LTS versions from 10 to 17, error always the same. |
@nnerijuss Make sure your using the latest version of Dart SASS with your bundler. |
Note that I had the same issue on my Sage 9.0.9 install which has in it's package.json:
And I added at the time of dev
Since I updated my package.json to require a strict I could also update to Sage 9.0.10 which use |
@mtx-z thanks for that, totally make sense i even updated it to version 2 and did not worked, your suggestion not only make sense but also finally fix my problem. |
I was running into the same issue using Gulp. I've also tried switching to the latest version of |
Same problem. What are the possible solutions? |
Problem solved. I just needed to update sass |
After the new version released on 3/15/22, I now get the following error. I had to go back to version 1.1.3.
file: D:/a/1/s/node_modules/hamburgers/_sass/hamburgers/_base.scss
line: 60
column: 19
formatted: Error: Invalid CSS after "...argin-top: math": expected expression (e.g. 1px, bold), was ".div($hamburger-lay"
on line 60 of node_modules/hamburgers/_sass/hamburgers/_base.scss
from line 68 of node_modules/hamburgers/_sass/hamburgers/hamburgers.scss
The text was updated successfully, but these errors were encountered: