You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2013/11/26 21:26:35 UTC

[jira] [Commented] (AMBARI-3892) Ambari Web does not compile

    [ https://issues.apache.org/jira/browse/AMBARI-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833010#comment-13833010 ] 

Srimanth Gunturi commented on AMBARI-3892:
------------------------------------------

+1 for patch.

> Ambari Web does not compile
> ---------------------------
>
>                 Key: AMBARI-3892
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3892
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.2
>            Reporter: Yusaku Sako
>            Assignee: Yusaku Sako
>            Priority: Blocker
>             Fix For: 1.4.2
>
>         Attachments: AMBARI-3892.patch
>
>
> Ambari Web does not compile.
> "brunch build" shows the following error:
> {code}
> $ 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)
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)