After renaming the arrow-down.svg to arrow_down.svg, the tool keeps complaining with the same error. I found that the issue is fixed after removing map.json, temp_fonts and temp_icons from /home/geertjohan/.pub-cache/global_packages/icon_font_generator. arrow-down.svg was being cached in the temp dir, but the temp dir is not removed when the tool exits with an error.
I think the solution is to always cleanup the temp dirs, even if the tool exits with an error.
I had an
.svg
file with a dash in it and ran the generator. The generator failed with the following output:After renaming the
arrow-down.svg
toarrow_down.svg
, the tool keeps complaining with the same error. I found that the issue is fixed after removingmap.json
,temp_fonts
andtemp_icons
from/home/geertjohan/.pub-cache/global_packages/icon_font_generator
.arrow-down.svg
was being cached in the temp dir, but the temp dir is not removed when the tool exits with an error.I think the solution is to always cleanup the temp dirs, even if the tool exits with an error.