Semantic-UI-LESS icon indicating copy to clipboard operation
Semantic-UI-LESS copied to clipboard

Recursive variable definition with less 3.x

Open ImperiousEnterprise opened this issue 6 years ago • 7 comments

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?

ImperiousEnterprise avatar Oct 30 '18 04:10 ImperiousEnterprise

2.3.1 ok, 2.3.3-2.4.1 fail

ElfenLiedGH avatar Nov 13 '18 07:11 ElfenLiedGH

I also have this problem (have just upgraded to 2.4.1). Any solution yet?

danatemple avatar Nov 22 '18 06:11 danatemple

just add @placeholder: 'default'; in theme.config file

it's work for me

sinau123 avatar Dec 11 '18 04:12 sinau123

met this +1

yuhong-l avatar Dec 26 '18 08:12 yuhong-l

This is still an issue in May 2019. Thanks for the answer, @sinau123.

TomFaulkner avatar May 21 '19 14:05 TomFaulkner

Try to merge the content of your theme.config with the example version provided in npm. This fixed for me the issue.

lukbukkit avatar Aug 06 '19 10:08 lukbukkit

Same issue for @emoji in 2.8.4. With same solution.

The tips here saved me hours of head scratching. Thanks!

lsim avatar Feb 27 '20 09:02 lsim