RE: Upgrading a Theme from 7.1 to 7.4

Jamie Sammons, módosítva 2 év-val korábban New Member Bejegyzések: 13 Csatlakozás dátuma: 2023.11.21. Legújabb bejegyzések

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

thumbnail
Olaf Kock, módosítva 2 év-val korábban Liferay Legend Bejegyzések: 6441 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések

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)

Jamie Sammons, módosítva 2 év-val korábban New Member Bejegyzések: 13 Csatlakozás dátuma: 2023.11.21. Legújabb bejegyzések

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?