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

Warning: Object #<Object> has no method 'isAbsolute' Use

gazpachu opened this issue · comments

Recently I started to get this error. Any idea of what this could be?

`Running "svg_sprite:basic" (svg_sprite) task
Warning: Object #<Object> has no method 'isAbsolute' Use --force to continue.

Aborted due to warnings.`

@gazpachu path.isAbsolute() should be available as of Node v.0.11.2. Which version are you using?

@gazpachu Oh, could you also post the code you use to add your source SVG files to the spriter?

That was the issue. I was using an old version. Thx