question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

See original GitHub issue

Bootstrap 4.6.1 is out and solved this depreciation warning.

Please find the list of this warning in admin lte v3.1.0

⠦ building... [Package /assets/vendor.js]Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($nav-link-padding-x, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
141 │ $sidebar-user-image-width: $sidebar-nav-icon-width + ($nav-link-padding-x / 2) !default;
    │                                                       ^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/admin-lte/build/scss/_variables.scss 141:55                                                      @import
    node_modules/admin-lte/build/scss/_adminlte.raw.scss 21:9                                                     @import
    /tmp/broccoli-3872866n6fuv7MpaJUp/out-296-broccoli_merge_trees_full_application/app/styles/app.scss#sass 2:9  root stylesheet

Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(-$sidebar-padding-x, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
507 │   margin: (-$sidebar-padding-x / 2) (-$sidebar-padding-x) 0;
    │            ^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/admin-lte/build/scss/_main-sidebar.scss 507:12                                                   @import
    node_modules/admin-lte/build/scss/parts/_core.scss 11:9                                                       @import
    node_modules/admin-lte/build/scss/_adminlte.raw.scss 25:9                                                     @import
    /tmp/broccoli-3872866n6fuv7MpaJUp/out-296-broccoli_merge_trees_full_application/app/styles/app.scss#sass 2:9  root stylesheet

Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(-$sidebar-padding-x, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
672 │   margin: (-$sidebar-padding-x / 2) (-$sidebar-padding-x) 0;
    │            ^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/admin-lte/build/scss/_main-sidebar.scss 672:12                                                   @import
    node_modules/admin-lte/build/scss/parts/_core.scss 11:9                                                       @import
    node_modules/admin-lte/build/scss/_adminlte.raw.scss 25:9                                                     @import
    /tmp/broccoli-3872866n6fuv7MpaJUp/out-296-broccoli_merge_trees_full_application/app/styles/app.scss#sass 2:9  root stylesheet

Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($nav-link-padding-y, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
885 │     padding-top: ($nav-link-padding-y / 2);
    │                   ^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/admin-lte/build/scss/_main-sidebar.scss 885:19                                                   @import
    node_modules/admin-lte/build/scss/parts/_core.scss 11:9                                                       @import
    node_modules/admin-lte/build/scss/_adminlte.raw.scss 25:9                                                     @import
    /tmp/broccoli-3872866n6fuv7MpaJUp/out-296-broccoli_merge_trees_full_application/app/styles/app.scss#sass 2:9  root stylesheet

Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($nav-link-padding-y, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
886 │     padding-bottom: ($nav-link-padding-y / 2);
    │                      ^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/admin-lte/build/scss/_main-sidebar.scss 886:22                                                   @import
    node_modules/admin-lte/build/scss/parts/_core.scss 11:9                                                       @import
    node_modules/admin-lte/build/scss/_adminlte.raw.scss 25:9                                                     @import
    /tmp/broccoli-3872866n6fuv7MpaJUp/out-296-broccoli_merge_trees_full_application/app/styles/app.scss#sass 2:9  root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
REJackcommented, Jan 22, 2022

Fixed and merged with 0c983d56230a7d1da42a2e46f5a2be6125a1a1d1

0reactions
forxercommented, Dec 15, 2021

I don’t want to hide deprecation messages, it’s useful. The only solution is to fix the problem

Read more comments on GitHub >

github_iconTop 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 Question....
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 ...
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Closed (fixed). Project: Bootstrap4.
Read more >
Fix Using / for division is deprecated removed in DartSass2
DEPRECATION WARNING : Using / for division is deprecated and will be removed in Dart Sass 2.0.0. This issue says the division operator...
Read more >
Replace / with math.div (#1954) · Issues - GitLab
Bug Deprecation Warning : Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found