Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of deprecation warnings when running Hugo server #97

Open
zigmd opened this issue Nov 12, 2024 · 0 comments
Open

Lots of deprecation warnings when running Hugo server #97

zigmd opened this issue Nov 12, 2024 · 0 comments

Comments

@zigmd
Copy link

zigmd commented Nov 12, 2024

Seeing lots of deprecation warning when running the static site on Hugo server (using hugo server)

Hugo version: hugo v0.126.2+extended linux/amd64

WARN  Dart Sass: /$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/assets/css/paige/bootstrap/paige.scss:10:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: /$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/assets/css/paige/bootstrap/paige.scss:7:21: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.quote instead.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/bootstrap.scss:0:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/bootstrap.scss:6:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/bootstrap.scss:7:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/bootstrap.scss:8:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:206:10: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use color.mix instead.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:211:10: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use color.mix instead.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_variables.scss:341:26: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use color.mix instead.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:10:29: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use math.unit instead.

More info and automated migrator: https://sass-lang.com/d/import
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:184:9: red() is deprecated. Suggestion:

color.channel($color, "red", $space: rgb)

More info: https://sass-lang.com/d/color-functions
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:185:9: green() is deprecated. Suggestion:

color.channel($color, "green", $space: rgb)

More info: https://sass-lang.com/d/color-functions
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:186:9: blue() is deprecated. Suggestion:

color.channel($color, "blue", $space: rgb)

More info: https://sass-lang.com/d/color-functions
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:36:10: red() is deprecated. Suggestion:

color.channel($color, "red", $space: rgb)

More info: https://sass-lang.com/d/color-functions
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_functions.scss:36:23: green() is deprecated. Suggestion:

color.channel($color, "green", $space: rgb)

More info: https://sass-lang.com/d/color-functions
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_reboot.scss:502:2: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_reboot.scss:503:2: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_type.scss:37:4: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_type.scss:38:4: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
WARN  Dart Sass: file:///$XDG_CACHE_HOME/hugo_cache/modules/filecache/modules/pkg/mod/github.com/willfaught/[email protected]/paige/node_modules/bootstrap/scss/_type.scss:39:4: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
WARN  Dart Sass: 255 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant