krzysztof-o/spritesheet.js

Error generator.js line 47

hugoZandel opened this issue · 5 comments

C:\Users\MYUSER\AppData\Roaming\npm\node_modules\spritesheet-js\lib\generator.js:4
7
files[i].width = parseInt(size[1], 10);
^
TypeError: Cannot set property 'width' of undefined

node.js v0.10.25
imagemagik ImageMagick-6.8.8-6-Q16-x64-dll.exe

Can you give me an example of the whole command you use?

spritesheet-js -f easeljs in/*.png

And could you please add thouse images so I can reproduce it

test_00
just copy paste this one a couple of times

It looks that it fails on files with spaces inside the name. It appears only on Windows.
Could you remove spaces and check whether it fixes the problem?