Problem Description:
I used node sass before, and later changed it to dart sass. This product started to be stupid. Fortunately, some big guy has solved it. Let’s record it
40% building 1/4 modules 3 active ...-app-class-teaching-activity-history-records-list\src\components\headerSelectExercise\headerSelectExercise.vue?vue&type=style&index=0&id=04fdc1ef&scoped=true&lang=scss&D
EPRECATION WARNING: Using/for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($px, $html-font-size)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
18 │ @return $px/$html-font-size * 1rem;
│ ^^^^^^^^^^^^^^^^^^^^^
╵
src\assets\scss\variable.scss 18:11 computer()
src\assets\scss\coverAntd.scss 4:16 @import
src\assets\scss\index.scss 8:9 @import
stdin 477:9 root stylesheet
Solution:
"sass": "^1.26.5", replace to "sass": "~1.26.5",