Skip to content

Less compilation extend 'mixin' has no matches #23619

Closed
@patruvlad

Description

@patruvlad

Preconditions (*)

  1. Magento version 2.3.1 - 2.3.2
  2. Production mode

Steps to reproduce (*)

  1. Having nodejs v8 installed
  2. Setting up vanilla Magento installation using composer
  3. Run npm install [email protected]
  4. Run bin/magento setup:static-content:deploy -f -t Magento/luma en_US
  5. Run node_modules/.bin/lessc var/view_preprocessed/pub/static/frontend/Magento/luma/en_US/css/styles-m.less > /dev/null
  6. Notice the output (what you see is the output to stderr, since we redirected stdout to /dev/null):
extend ' .abs-modal-overlay' has no matches
extend ' .abs-add-clearfix-desktop' has no matches
extend ' .abs-blocks-2columns' has no matches
extend ' .abs-forms-general-desktop' has no matches
extend ' .abs-action-reset' has no matches
extend ' .abs-no-display-desktop' has no matches
extend ' .clearer' has no matches
extend ' .abs-clearfix' has no matches
extend ' .abs-action-print' has no matches

Expected result (*)

  1. The compiled css should not have anything like the extend 'mixin_name' has no matches

Actual result (*)

  1. Errors during less compilation

Metadata

Metadata

Assignees

Labels

Component: SetupFixed in 2.3.xThe issue has been fixed in 2.3 release lineFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions