ScerIO / icon_font_generator

☣️ Flutter Icon Font Generator
https://pub.dev/packages/icon_font_generator
Other
96 stars 50 forks source link

[macOS]: Deletion failed (OS Error: Permission denied, errno = 13) #25

Open Ahmadre opened 2 years ago

Ahmadre commented 2 years ago

I cannot generate icons on macOS.

❯ icon_font_generator --from=icons --class-name=StreamlineIcons --out-font=assets/fonts/streamline_icons.ttf --out-flutter=lib/app/services/streamline_icons.dart
Unhandled exception:
FileSystemException: Deletion failed, path = '/Users/rebar/.pub-cache/global_packages/icon_font_generator/temp_icons' (OS Error: Permission denied, errno = 13)
#0      _Directory._delete.<anonymous closure> (dart:io/directory_impl.dart:192:9)
<asynchronous suspension>
#1      GenerateCommand.run (file:///Users/rebar/.pub-cache/hosted/pub.dartlang.org/icon_font_generator-3.2.0/bin/icon_font_generator.dart:115:7)
<asynchronous suspension>
#2      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#3      main (file:///Users/rebar/.pub-cache/hosted/pub.dartlang.org/icon_font_generator-3.2.0/bin/icon_font_generator.dart:13:5)
<asynchronous suspension>