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

Upgrade to JHipster 8.4.0 #258

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Upgrade to JHipster 8.4.0 #258

wants to merge 19 commits into from

Conversation

mraible
Copy link
Owner

@mraible mraible commented May 9, 2024

No description provided.

@mraible
Copy link
Owner Author

mraible commented May 9, 2024

After upgrading to 8.4.0, I'm getting the following error when trying to compile the frontend.

./src/main/webapp/content/scss/global.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
$color1: var(--bs-tertiary-bg) is not a color.
   ╷
35 │   background-color: mix($dropdown-link-hover-bg, $dropdown-link-active-bg, 50%);
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  src/main/webapp/content/scss/global.scss 35:21  root stylesheet

./src/main/webapp/content/scss/global.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
$color1: var(--bs-tertiary-bg) is not a color.
   ╷
35 │   background-color: mix($dropdown-link-hover-bg, $dropdown-link-active-bg, 50%);
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  src/main/webapp/content/scss/global.scss 35:21  root stylesheet

@mshima Any idea why this is happening?

Update: Nevermind. I figured it out. I was missing the following variables from _bootstrap-variables.scss:

$dropdown-link-hover-color: white;
$dropdown-link-hover-bg: #343a40;

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

Successfully merging this pull request may close these issues.

1 participant