westracer / fontify

Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.
Other
105 stars 15 forks source link

[E] NoSuchMethodError: The method 'split' was called on null #15

Open easazade opened 3 years ago

easazade commented 3 years ago

I get the following error when i run fontify

[I]  Using config fontify.yaml
[E]  NoSuchMethodError: The method 'split' was called on null.
Receiver: null
Tried calling: split(RegExp: pattern=[\s|,] flags=)

This is my config file

fontify:
  input_svg_dir: "cityapp/"
  output_font_file: "cityapp/fonts/my_icons_font.otf"

  output_class_file: "cityapp/my_icons.dart"
  class_name: "MyIcons"
  indent: 4
  package: my_font_package

  font_name: "My Icons"
  normalize: true
  ignore_shapes: true

  recursive: true
  verbose: false
westracer commented 3 years ago

Hello. Which version of fontify are you using? If it's not "0.3.0-nullsafety.1", try to switch to this version and reproduce the problem again. Thank you