Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : steal build silently fails, non deterministically, on some machines

$
0
0
That sounds kind of similar.

By adding a lot of print() statements around the build code, I think the failure is somewhere in the interaction between Envjs and steal. I don't know whether canjs uses the same setup (a quick look on github suggests that it might) ?

I have tracked the problem as far as here in steal/build/open.js:

  1. "steal.js": function(script){
  2. // if there's timers (like in less) we'll never reach next line 
  3. // unless we bind to done here and kill timers
  4. window.steal.one('done', doneCb);
  5. }
When it fails, that doneCb callback doesn't get called, I haven't managed to work out why yet.

Viewing all articles
Browse latest Browse all 3491

Trending Articles