moudy / broccoli-taco

Static Sites Powered by Broccoli
http://broccoli-taco.com/
94 stars 14 forks source link

RangeError: Maximum call stack size exceeded #15

Closed givanse closed 7 years ago

givanse commented 9 years ago
node_modules/broccoli-browserify/node_modules/browserify/index.js:0
(function (exports, require, module, __filename, __dirname) { var crypto = req
^

RangeError: Maximum call stack size exceeded

That error appears if I:

// Brocfile.js
var funnel   = require('broccoli-funnel');

var fontelloFonts = funnel('assets/fontello/font/', {
  files   : ['fontello.woff',
             'fontello.ttf'],
  destDir : '/font'
});

var Site = require('broccoli-taco');
var site = new Site();
var appTree = site.toTree();
module.exports = mergeTrees([appTree, fontelloFonts]);

I did rm -rf node_modules/ && npm install and it seems to be solved, but sometimes it will show up again.

I experimented with node 0.10 and 0.12, but I couldn't find any steps that will reproduce consistently.

So, for now I'm just documenting what I saw.

givanse commented 7 years ago

Haven't seen that error in a while.