

2.4.2
No problem on 2.4.2 fresh install, only when upgrading from 2.3 to 2.4
Happened to me as well. Upon checking my theme.config file, I realised that it didn't contain the new placeholder element, and added it between @loader and @rail, like this:
@loader : 'default';
@placeholder: 'default';
@rail : 'default';
Then the build process work again.
I guess the theme.config file isn't touched during updates, therefore missing the new component?
Awesome, thank you @xeophin !
Just happened to me. FWIW, the plumber error config seems to try to alert you of this but it is configured to check line 5 instead of line 9.
You can see this here: https://github.com/Semantic-Org/Semantic-UI/blob/52922d1e5cc78c370ae1458225c740a83028c249/tasks/config/tasks.js#L96-L103
The error I received (after manually logging it) is for line 9:
error { [Error: Recursive variable definition for @placeholder in file semantic/src/theme.less line no. 9]
Most helpful comment
Happened to me as well. Upon checking my
theme.configfile, I realised that it didn't contain the new placeholder element, and added it between@loaderand@rail, like this:Then the build process work again.
I guess the
theme.configfile isn't touched during updates, therefore missing the new component?