Getting deprecated warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0
See original GitHub issueVersions
- 2.0.0-rc.1
Describe the bug
Hi, I am importing the SCSS version of the styles so that I can override the variables. When running serve in production mode, I get this warning:
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($vt-toast-max-width, 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
54 │ margin-left: -($vt-toast-max-width / 2);
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules\vue-toastification\src\scss\_toastContainer.scss 54:22 @import
stdin 5:9 root stylesheet
Steps to reproduce
Reproduction Option 1:
- Clone and install my repo: https://github.com/meirroth/vue-toastification-br
- Run
npm run serve:prod
Option 2:
- Install normally
- Import the SCSS version of the styles
- Run build or serve in production mode
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Using / for division outside of calc() is deprecated and will be ...
Deprecation Warning : Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 [duplicate] · Ask...
Read more >Using / for division is deprecated and will be removed in Dart ...
Describe the bug It seems that there is now a deprecation warning when compiling Font Awesome 5.15.3 with the latest version of SASS...
Read more >Using / for division is deprecated and will be removed in Dart ...
I recently updated the app and now I get the error below. Codekit still compiles the files, but complains a bit. Dart Sass...
Read more >Breaking Change: Slash as Division - Sass
The / operator still does division for now, but it also prints a deprecation warning when it does so. Users should switch all...
Read more >Warning division is decrepted - fontawesome
DEPRECATION WARNING : Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(20em, 16). More info and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you @dmalson-zaelab, I submitted a pull request
Hey y’all, terribly sorry for the delay 😞 I’ve fixed it in version v2 and will add it to the next release. Will do the same for v1