drdk / grunt-dr-svg-sprites

Grunt plugin to create SVG sprites with PNG fallbacks at needed sizes
113 stars 19 forks source link

Fatal error: Cannot read property '1' of undefined #29

Closed charlieMACK closed 10 years ago

charlieMACK commented 10 years ago

despite this error message, the svg-sprite is generated but there is no png-sprite in my destination folder. here are my configs for gruntfile

    'svg-sprites': {
        all: {
            options: {
                spriteElementPath: 'img',
                spritePath: 'img/sprites',
                cssPath: 'css/sprite.css'
            }
        }
    },

with --verbose i neither get further informations by console output. what am i doing wrong? thanks in advance

phloe commented 10 years ago

Sounds like this issue is related to #28 ?

charlieMACK commented 10 years ago

ah, sry... i didn't see that there is already an issue with the same problem.

yeah, maybe it is the "async" module... but what can i do? what does "there is a dependency" mean? #28 is not really helpful.

phloe commented 10 years ago

Yeah - I was hoping the other issue poster would elaborate on his findings - especially whether this is issue is a bug in the plugin or something to do with npm install or something else.

lmbrt commented 10 years ago

Same issue here... any ideas on how to work around?

phloe commented 10 years ago

Seems like there's a bunch of dependency-related bugs - I'm looking into it.

phloe commented 10 years ago

This bug should be fixed now in v0.9.12! If you're not getting the newest version try running: npm cache clean