Closed marcuss closed 2 years ago
I confirm the issue
error with theme morph
, works with darkly
@qmonmert Is this something we should (and can) fix?
I opened an issue https://github.com/thomaspark/bootswatch/issues/1206 I think it's not us
Maybe it’s not even an upstream bug. We generate bootswatch@5 with bootstrap@4. They should match.
shade-color
is a Boostrap 5 function https://getbootstrap.com/docs/5.0/customize/sass/
but JHipster is still with Bootstrap 4
@marcuss you can switch your theme
@qmonmert sure, actually just read this I was off on weekend I'll let you know how it goes
I recommend downgrading to bootswatch@4
@qmonmert @mshima Everything works if I use another theme (try it Darkly), I did have an issue with my Node version tho (this one: https://github.com/jhipster/generator-jhipster-svelte/issues/1030) , but downgrading to 16 made it disappear.
Overview of the issue
With today's build, using a monolithic app, with no admin console, with mysql in memory, using Vue, no cache, session authentication, the generated project without changes does not build.
It fails with something identical to an old issue #4900
ERROR in ./src/main/webapp/content/scss/vendor.scss (./node_modules/css-loader/dist/cjs.js??clonedRuleSet-7.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-7.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-7.use[3]!./src/main/webapp/content/scss/vendor.scss) Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: $color: shade-color(#f0f5fa, 50%) is not a color.
Motivation for or Use Case
I want to use JHipster for a simple project but I can not do it.
Reproduce the error
run mvn (in mac). and see the error.
run ./mvnw (in windows) wait and see the error.
Related issues
The following issue seems very similar https://github.com/jhipster/generator-jhipster/issues/4900
JHipster Version(s)
7.9.2
JHipster configuration
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
Browsers and Operating System
Windows 10 Mac OS Both running latest Chrome