Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-3892

Ambari Web does not compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.4.2
    • 1.4.2
    • ambari-web
    • None

    Description

      Ambari Web does not compile.
      "brunch build" shows the following error:

      $ brunch build
      
      TypeError: Object 0 has no method 'toLowerCase'
          at Object.parse [as shorthandParser] (/Users/yusakusako/ambari-vagrant/centos/incubator-ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/cssstyle/lib/parsers.js:349:11)
          at CSSStyleDeclaration.border (/Users/yusakusako/ambari-vagrant/centos/incubator-ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/cssstyle/lib/parsers.js:373:27)
          at Object.j (<anonymous>:2:20336)
          at o (<anonymous>:2:14733)
          at Object.p.fireWith (<anonymous>:2:15502)
          at e.extend.ready [as _onTimeout] (<anonymous>:2:9594)
          at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
      

      This is because cssstyle has changed from 0.2.3 that was working before, to 0.2.5, that is no longer compatible with ember-precompiler-brunch.
      The workaround is to force installation of cssstyle@0.2.3.

      Attachments

        1. AMBARI-3892.patch
          0.5 kB
          Yusaku Sako

        Activity

          People

            u39kun Yusaku Sako
            u39kun Yusaku Sako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: