svg-sprite / grunt-svg-sprite

SVG sprites & stacks galore — Grunt plugin wrapping around svg-sprite that reads in a bunch of SVG files, optimizes them and creates SVG sprites and CSS resources in various flavours

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeError: Maximum call stack size exceeded

laurencedorman opened this issue · comments

Hi, trying to get this to work on my machine but getting the following error:


(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

util.js:35
  var str = String(f).replace(formatRegExp, function(x) {
                      ^
RangeError: Maximum call stack size exceeded

Is this something that had been encountered before?

Hi @ld0rman,

thanks for reporting this!

You seem to be the first one who (reportedly) encounter this. I'm not too much of a Node specialist, but doesn't this look like a problem with the util package (rather than grunt-svg-sprite itself)? In any case, as long as I can't reproduce this error (and I can't, unfortunately), I can hardly debug it. Is there any more information you could provide?

Cheers,
Joschi

Thanks for getting back to me, I can confirm that the error was on my end, and has nothing to do with your package! It's actually this: http://stackoverflow.com/questions/22285942/grunt-throw-recursive-process-nexttick-detected

Sorry for wasting your time!

No problem, you're welcome! Happy spriting — and please don't hesitate to get in touch with me in case of further problems. :)