<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Issues when building theme</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121337152" />
  <subtitle>Issues when building theme</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121337152</id>
  <updated>2026-04-04T21:48:56Z</updated>
  <dc:date>2026-04-04T21:48:56Z</dc:date>
  <entry>
    <title>RE: Issues when building theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121353871" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121353871</id>
    <updated>2022-02-07T21:35:47Z</updated>
    <published>2022-02-07T21:34:52Z</published>
    <summary type="html">&lt;p&gt;For anyone who has this issue, after a lot of test, these are the
  versions that make it work:&lt;/p&gt;
&lt;p&gt;- nodejs 10.16.3   &lt;/p&gt;
&lt;p&gt;- gulp 3.9.1&lt;/p&gt;
&lt;p&gt;- yeoman 3.1.1&lt;/p&gt;
&lt;p&gt;- python 2.7.18&lt;/p&gt;
&lt;p&gt;- generator liferay-theme 9.5.4&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2022-02-07T21:34:52Z</dc:date>
  </entry>
  <entry>
    <title>Issues when building theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121337151" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121337151</id>
    <updated>2022-01-20T08:39:42Z</updated>
    <published>2022-01-20T07:47:44Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am facing issues with my environment, I guess. I am trying to
  create a new theme, but I am receiving errors like this when I try to compile:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2) or calc($spacer / 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
306 │ $headings-margin-bottom:      $spacer / 2 !default;
    │                               ^^^^^^^^^^^
    ╵
    build\_css\clay\bootstrap\_variables.scss 306:31  @import
    build\_css\clay\base.scss 10:9                    @import
    build\_css\clay.scss 1:9                          root stylesheet

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($input-padding-y, 2) or calc($input-padding-y / 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
501 │ $input-height-inner-quarter:            add($input-line-height * .25em, $input-padding-y / 2) !default;
    │                                                                         ^^^^^^^^^^^^^^^^^^^^
    ╵
    build\_css\clay\bootstrap\_variables.scss 501:73  @import
    build\_css\clay\base.scss 10:9                    @import
    build\_css\clay.scss 1:9                          root stylesheet

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($custom-control-indicator-size, 2) or calc($custom-control-indicator-size / 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
571 │ $custom-switch-indicator-border-radius:         $custom-control-indicator-size / 2 !default;
    │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    build\_css\clay\bootstrap\_variables.scss 571:49  @import
    build\_css\clay\base.scss 10:9                    @import
    build\_css\clay.scss 1:9                          root stylesheet

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2) or calc($spacer / 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
717 │ $nav-divider-margin-y:              $spacer / 2 !default;
    │                                     ^^^^^^^^^^^
    ╵
    build\_css\clay\bootstrap\_variables.scss 717:37  @import
    build\_css\clay\base.scss 10:9                    @import
    build\_css\clay.scss 1:9                          root stylesheet

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2) or calc($spacer / 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
722 │ $navbar-padding-y:                  $spacer / 2 !default;
    │                                     ^^^^^^^^^^^
    ╵
    build\_css\clay\bootstrap\_variables.scss 722:37  @import
    build\_css\clay\base.scss 10:9                    @import
    build\_css\clay.scss 1:9                          root stylesheet

[08:42:06] 'build:compile-css' errored after 4.11 s
[08:42:06] Error in plugin &amp;quot;sass&amp;quot;
Message:
    build\_css\compat\components\_dropdowns.scss
Error: compound selectors may no longer be extended.
Consider `@extend .dropdown-item, .disabled` instead.
See http://bit.ly/ExtendCompound for details.

   ╷
34 │         @extend .dropdown-item.disabled;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  build\_css\compat\components\_dropdowns.scss 34:11  root stylesheet
Details:
    formatted: Error: compound selectors may no longer be extended.
Consider `@extend .dropdown-item, .disabled` instead.
See http://bit.ly/ExtendCompound for details.

   ╷
34 │         @extend .dropdown-item.disabled;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  build\_css\compat\components\_dropdowns.scss 34:11  root stylesheet
    line: 34
    column: 11
    file: C:\Proyectos\theme\test-theme\build\_css\compat\components\_dropdowns.scss
    status: 1
    messageFormatted: build\_css\compat\components\_dropdowns.scss
Error: compound selectors may no longer be extended.
Consider `@extend .dropdown-item, .disabled` instead.
See http://bit.ly/ExtendCompound for details.

   ╷
34 │         @extend .dropdown-item.disabled;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  build\_css\compat\components\_dropdowns.scss 34:11  root stylesheet
    messageOriginal: compound selectors may no longer be extended.
Consider `@extend .dropdown-item, .disabled` instead.
See http://bit.ly/ExtendCompound for details.

   ╷
34 │         @extend .dropdown-item.disabled;
   │                 ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  build\_css\compat\components\_dropdowns.scss 34:11  root stylesheet
    relativePath: build\_css\compat\components\_dropdowns.scss
    domainEmitter: [object Object]
    domainThrown: false

[08:42:06] 'build' errored after 7.51 s&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;My versions are:&lt;/p&gt;
&lt;p&gt;gulp - 4.0.3&lt;/p&gt;
&lt;p&gt;node - 16.13.2&lt;/p&gt;
&lt;p&gt;npm - 8.1.2&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Anyone can help me with this?&lt;br /&gt;
  &lt;br /&gt; Thanks in advance     &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2022-01-20T07:47:44Z</dc:date>
  </entry>
</feed>
