I’m trying to upgrade a theme from bootstrap 4 to 5. When I upgrade the node_module using yarn, then try to start
hugo serve, I get the error:
hugo serve Start building sites … Built in 2057 ms Error: Error building site: TOCSS: failed to transform "sass/main.scss" (text/x-scss): SCSS processing failed: file "stdin", line 34, col 3: Undefined variable: "$i".
If I just build the site with
hugo it seems to compile fine, no errors. The rendered site looks OK.
The theme is here: Files · bootstrap5 · pixlsus / hugo-bootstrap-bare · GitLab
Can anyone help?