Closed jonashoelzel closed 8 months ago
Hey I had the same issue. It worked using "generator" instead of "generate":
$ dart run icon_font_generator:generate
Thanks for the response, but I think your command is the exact same as mine. It still does not work for me.
Hi Sorry, I meant
$ dart run icon_font_generator:generator
This is working. Thanks!
Guys need a fix in docs.
$ flutter pub add --dev icon_font_generator
# And it's ready to go:
$ flutter pub run icon_font_generator:generate <input-svg-dir> <output-font-file> [options]
Second command doesn't work. Need to fix a typo in generate
. It should be generator
instead.
So, it is gonna be
flutter pub run icon_font_generator:generator <input-svg-dir> <output-font-file> [options]
Even with the generator
, I'm still getting this issue on v3.2.0.
Can you please change the command in README.MD
to this dart run icon_font_generator:generator
When running
dart run icon_font_generator:generate
I get this error:The file
bin/generate.dart
exists in~/.pub-cache/hosted/pub.dev/icon_font_generator-4.0.0/
How can I fix this? (I'm on a Mac)