Open PavelFil opened 1 month ago
It's not SVGO problem. As you can see by stacktrace it's an error in css-what through css-select dependency.
It's not SVGO problem. As you can see by stacktrace it's an error in css-what through css-select dependency.
It's need to create a correct bug report ticket in css-what repo. For that, it's need to know how svgo uses the repo. I mean, it's need to provide a correct code example, that reproduce the problem using only css-what repo.
Stacktrace shows all the chain. Basically, it computes styles for elements. It needs debugging to say what happens, but I'm not sure how good animations are supported by those libraries.
This works for me with the latest SVGO code (version 4). It fails as described above with the 3.3.2 code. The css libraries used by SVGO appear to be identical between SVGO 4 and 3.3.2.
When run
svgo icon.svg
, I receive the errorThe file is: