Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

org.lesscss.LessException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function bind in object #66

Open
dzsodzso63 opened this issue Mar 3, 2015 · 1 comment

Comments

@dzsodzso63
Copy link

I got this error always in my mac
I tried with different java versions, different rhino versions, even tried to upgrade my os to OS X Yosemite. Nothing helps.
Using lessc command line (npm) works.

org.lesscss.LessException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function bind in object
  function _math(fn, unit, n) {
      if (!(n instanceof tree.Dimension)) {
          throw {type:"Argument", message:"argument must be a number"};
      }
      if (unit == null) {
          unit = n.unit;
      } else {
          n = n.unify();
      }
      return new (tree.Dimension)(fn(parseFloat(n.value)), unit);
  }
  . (jar:file:.../lesscss-1.7.0.1.1.jar!/META-INF/less-rhino-1.7.0.js#2926)
@stefv
Copy link

stefv commented Jul 21, 2016

Same problem. I'm using yuicompressor, maybe it's incompatible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants