Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive variable definition with less 3.x #53

Open
ImperiousEnterprise opened this issue Oct 30, 2018 · 7 comments
Open

Recursive variable definition with less 3.x #53

ImperiousEnterprise opened this issue Oct 30, 2018 · 7 comments

Comments

@ImperiousEnterprise
Copy link

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
Copy link

2.3.1 ok, 2.3.3-2.4.1 fail

@danatemple
Copy link

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

@sinau123
Copy link

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

it's work for me

@yuhong-l
Copy link

met this +1

@TomFaulkner
Copy link

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

@lukbukkit
Copy link

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

@lsim
Copy link

lsim commented Feb 27, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants