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.

Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

See original GitHub issue

The Problem

With Node 16, the new Node LTS, I get a warning everytime I start my server.

: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($size, 2) or calc($size / 2)

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

  ╷
7 │     border-width: $size / 2;
  │                   ^^^^^^^^^
  ╵
    node_modules/vue-slider-component/lib/styles/_triangle.scss 7:19  triangle()
    node_modules/vue-slider-component/lib/styles/_triangle.scss 31:7  arrow()
    node_modules/vue-slider-component/lib/theme/default.scss 108:7    @import
    src/components/Filters/Partials/FilterPrice.vue 419:9             root stylesheet

The Environment

  • OS & Version: Linux 20.0.4
  • Vue version: v2.6.12 (using Nuxt v2.15.8)
  • Component Version: v3.2.15

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
NightCatSamacommented, Nov 2, 2022

Fixed in version 3.2.23.

1reaction
lowbitscommented, Jan 28, 2022

push, please make a release. Waiting now 3 months for it. 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using / for division outside of calc() is deprecated and will be ...
Using / to make divisions outside of calc function won't be supported anymore. Here is an overview of the reason why form the...
Read more >
Using / for division outside of calc() is deprecated and will be ...
WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($spacer, ...
Read more >
Using / for division outside of calc() is deprecated and will be ...
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Closed (fixed). Project: Barrio Bootstrap ...
Read more >
Using / for division outside of calc() is deprecated and will be ...
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Is there a version that doesnt...
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 is...
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