Passing a number without unit % (84) is deprecated.
时间: 2024-11-30 19:17:01 浏览: 14
PEP四英上Unit1第二课时.ppt
The warning "Deprecation Warning: Using / for division is deprecated" in Dart Sass indicates that the use of `/` to perform integer division, which might result in unexpected behavior due to implicit type coercion, is no longer recommended in future versions. To address this issue, you should explicitly convert one of the operands to a float before performing the division[^1]. For example:
```scss
$number: 84;
$newNumber: $number / 10; // Replace with $number * (1/10) or $number / 1 if you want a float
```
As for your second concern about port settings, it seems like setting `http_port` to a specific number like 3090 isn't working as expected when opening your router's log. The default port of 3000 is being used instead. When using `sudo lsof -i`, it's not showing any process bound to port 3090[^2]. You may need to check your configuration file, server setup, or restart your service specifying the correct port.
阅读全文