Recursive variable definition with less 3.x
ImperiousEnterprise opened this issue · 7 comments
ImperiousEnterprise commented
Module build failed (from ./node_modules/less-loader/dist/cjs.js):
@theme: @@element;
^
Recursive variable definition for @placeholder
in ..\node_modules\semantic-ui-less\theme.less (line 9, column 8)
Been getting this error with the 2.4.1 release and am trying to figure out what this means.
@import (multiple) "~semantic-ui-less/theme.less";
I do have the proper import.But I am just not sure where this error is coming form?
Any suggestions to tackle this error?
ElfenLiedGH commented
2.3.1 ok, 2.3.3-2.4.1 fail
danatemple commented
I also have this problem (have just upgraded to 2.4.1). Any solution yet?
sinau123 commented
just add
@placeholder: 'default';
in theme.config file
it's work for me
yuhong-l commented
met this +1
TomFaulkner commented
This is still an issue in May 2019. Thanks for the answer, @sinau123.
lukbukkit commented
Try to merge the content of your theme.config
with the example version provided in npm. This fixed for me the issue.
lsim commented
Same issue for @emoji
in 2.8.4. With same solution.
The tips here saved me hours of head scratching. Thanks!