You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed with "sudo npm install -g vectorinox" and it seemed to install OK, but on using it I get:
$ vectorinox --stdout youtube.svg
/usr/local/lib/node_modules/vectorinox/dist/plugins/applyTransforms.js:292
if (el.attrs['transform']) {
^
TypeError: Cannot read property 'transform' of undefined
at applyTransforms (/usr/local/lib/node_modules/vectorinox/dist/plugins/applyTransforms.js:292:17)
at Array.map (<anonymous>)
at applyTransforms (/usr/local/lib/node_modules/vectorinox/dist/plugins/applyTransforms.js:305:35)
at Array.map (<anonymous>)
at applyTransforms (/usr/local/lib/node_modules/vectorinox/dist/plugins/applyTransforms.js:305:35)
at /usr/local/lib/node_modules/vectorinox/dist/index.js:25:72
at Array.reduce (<anonymous>)
at Object.clean (/usr/local/lib/node_modules/vectorinox/dist/index.js:25:22)
at Object.<anonymous> (/usr/local/lib/node_modules/vectorinox/dist/bin.js:95:19)
at Module._compile (module.js:652:30)
I get the same error whether there is a transform="..." anywhere in the svg file or not.
Sorry I can't help debug, not familiar with the language. I just need a command line utility to flatten svg files for use with a project I'm writing in C.
The text was updated successfully, but these errors were encountered:
I installed with "sudo npm install -g vectorinox" and it seemed to install OK, but on using it I get:
I get the same error whether there is a transform="..." anywhere in the svg file or not.
Sorry I can't help debug, not familiar with the language. I just need a command line utility to flatten svg files for use with a project I'm writing in C.
The text was updated successfully, but these errors were encountered: