Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-2381

Couldn't build-css for sdk theme project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Projects, Projects > Theme
    • Labels:
      None

      Description

      1.new sdk theme project
      2.right click -> build-css

      In console:build-css:
      [java] Java Result: 1
      [echo] Using native Sass compiler
      [echo] Exception in thread "main" com.liferay.sass.compiler.jni.internal.JniSassCompilerException: com.liferay.sass.compiler.jni.internal.JniSassCompilerException: Error: file to import not found or unreadable: bourbon
      [echo] Current dir: D:/test/liferay-plugins-sdk-7.0-ce-ga1-20160331161017956/liferay-plugins-sdk-7.0/themes/themeTest-theme/docroot/css/aui/lexicon/lexicon-base/
      [echo] on line 8 of docroot/css/aui/lexicon/lexicon-base/main.scss
      [echo] >> @import "bourbon";
      [echo] --------^
      [echo] at com.liferay.sass.compiler.jni.internal.JniSassCompiler.compileString(JniSassCompiler.java:214)
      [echo] at com.liferay.css.builder.CSSBuilder._parseSass(CSSBuilder.java:333)
      [echo] at com.liferay.css.builder.CSSBuilder._addSassString(CSSBuilder.java:160)
      [echo] at com.liferay.css.builder.CSSBuilder._parseSassFile(CSSBuilder.java:434)
      [echo] at com.liferay.css.builder.CSSBuilder._build(CSSBuilder.java:182)
      [echo] at com.liferay.css.builder.CSSBuilder.execute(CSSBuilder.java:128)
      [echo] at com.liferay.css.builder.CSSBuilder.main(CSSBuilder.java:97)
      [echo] Caused by: com.liferay.sass.compiler.jni.internal.JniSassCompilerException: Error: file to import not found or unreadable: bourbon
      [echo] Current dir: D:/test/liferay-plugins-sdk-7.0-ce-ga1-20160331161017956/liferay-plugins-sdk-7.0/themes/themeTest-theme/docroot/css/aui/lexicon/lexicon-base/
      [echo] on line 8 of docroot/css/aui/lexicon/lexicon-base/main.scss
      [echo] >> @import "bourbon";
      [echo] --------^
      [echo] at com.liferay.sass.compiler.jni.internal.JniSassCompiler.compileFile(JniSassCompiler.java:102)
      [echo] at com.liferay.sass.compiler.jni.internal.JniSassCompiler.compileString(JniSassCompiler.java:193)
      [echo] ... 6 more

      And when deploy theme project to started server(tomcat or wildfly), it also will show this error.

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            ying.xu Ying Xu (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 42 weeks, 3 days ago

                Packages

                Version Package