Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.4.2
-
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.