Closed dominictarr closed 5 years ago
I also have the same issue. Please Help!!!
C:\Users\aniket>npm curl http://www.clker.com/cliparts/O/H/c/W/A/o/plane.svg | svgmill -i [] C:\Users\aniket\AppData\Roaming\npm\node_modules\svgmill\bin\run.js:59 var ax = paths[0][1].x - paths[0][0].x, ^
TypeError: Cannot read property '1' of undefined
at Socket.
I believe this is fixed in 64f4210 and I've published v0.0.2 on npm
let me know if this doesn't solve the issue
‣ npm install -g svgmill
/usr/local/bin/svgmill -> /usr/local/lib/node_modules/svgmill/bin/run.js
+ svgmill@0.0.2
updated 1 package in 1.277s
‣ curl http://www.clker.com/cliparts/O/H/c/W/A/o/plane.svg | svgmill -i
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2323 100 2323 0 0 31832 0 --:--:-- --:--:-- --:--:-- 32263
G1 Z1
M4 S6000
G1 Z1 F200
G1 Z1.1 F200
G1 Z1.2 F200
G1 Z1.3 F200
G1 Z1.4 F200
G1 Z1.5 F200
G1 Z1.6 F200
G1 Z1.7 F200
G1 Z1.7999999999999998 F200
...
it worked! thanks @tmpvar
I was quite excited to see this, but then this happened: