Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Upgrading a Theme from 7.1 to 7.4
HI,
I have a theme implemented for version 7.1 that I now need to
upgrade to 7.4.
I tried the procedure indicated here [
https://learn.liferay.com/w/dxp/site-building/site-appearance/themes/upgrading-a-theme
] but I get the error
Error: Task 'upgrade' is not supported for
themes with version '7.1' in this version of 'liferay-theme-tasks'
.
I would like to point out that the 7.1 theme runs with node v8,
if I update node it no longer compiles and I get other errors.
Some idea?
thanks
F
I can't help you with this specific issue, but I can give some suggestions or alternatives:
While it sounds bad: Due to the velocity of frontend development, I tend to rather look at reimplementing a theme than upgrading it. Especially when it's more than a single version step (e.g. 7.1 -> 7.2 -> 7.3 -> 7.4). Too much has happened in the front-end world.
With 7.4, there's yet another option: Check if the classic (or better Dialect) theme is flexible enough to be adapted with proper Stylesheets (this means that those settings are upgraded for you in the next version, they're rather technology independent)
HI,
I now tried to create a new theme for version 7.4 with yo and
node v16.13 and it went well.
So I brought in the css and scss
files but I have compilation errors
[11:45:57] 'build:compile-css' error after 986 ms
[11:45:57]
Error in plugin "sass"
Message:
build\_css\clay\variables\_cards.scss
Error: 0px and 0.0625rem
have incompatible units
and other similar ones.
some idea?
Powered by Liferay™