LoginSignup
0
0

Bootstrap 5 アップデートエラーの記録

Last updated at Posted at 2023-09-16

Error: Undefined variable. 'primary': $primary-text-emphasis-dark,

Bootstrap 5.3 へのアップデートで発生。
解決法: Sass の Bootstrap 変数を設定している箇所で $enable-dark-mode: false;

Deprecation Warning: Passing percentage units to the global abs() function is deprecated.

v5.2 → v5.3.1 アップデートで発生。
原因は、Dart Sass v1.65.0 以降、パーセント単位をグローバル abs() に渡すことは非推奨になったため。
v5.3.2 へのアップデートで解決する(divide() 関数に渡される値を変更することで内部的に修正)。
v5.3.2 へのアップデートが無理な場合は、dart-sass を 1.66 → 1.64.2 にダウンデートで解決。
dart-sass deprecation warning: Passing percentage units to the global abs() function is deprecated. · Issue #39028 · twbs/bootstrap

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0