Skip to content
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

SASS Compilation Error: Expected "(" or ".". #334

Closed
hperrin opened this issue Sep 27, 2021 · 1 comment
Closed

SASS Compilation Error: Expected "(" or ".". #334

hperrin opened this issue Sep 27, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hperrin
Copy link
Owner

hperrin commented Sep 27, 2021

Describe the bug

Error: Expected "(" or ".".
    ╷
220 │   $checkbox-padding: calc((_ripple-size - _icon-size) / 2);
    │                                        ^
    ╵
  node_modules/@material/checkbox/_checkbox-theme.scss 220:40  @use
  node_modules/@material/checkbox/_checkbox.scss 41:1          @forward
  node_modules/@material/checkbox/_variables.scss 24:1         @forward
  node_modules/@material/checkbox/_index.scss 1:1              @use
  node_modules/@smui/checkbox/_style.scss 1:1                  @use
  node_modules/smui-theme/_style.scss 5:1                      @use
  node_modules/smui-theme/_index.scss 2:1                      root stylesheet

This seems to be due to an incompatible minor revision of Node SASS (1.40).

@hperrin hperrin added the bug Something isn't working label Sep 27, 2021
@hperrin hperrin self-assigned this Sep 27, 2021
@hperrin
Copy link
Owner Author

hperrin commented Sep 27, 2021

Until the next version can address this, run the following command to lock to SASS 1.39.

npm i -D sass@"~1.39.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant