Flutter flatter:Font-Awesome专业版更新失败
我试图实现font awesome pro图标,但当文档要求我使用Flutter flatter:Font-Awesome专业版更新失败,flutter,dart,font-awesome,Flutter,Dart,Font Awesome,我试图实现font awesome pro图标,但当文档要求我使用/tool/update.sh进行更新时,出现了此错误。有什么解决办法吗 Custom icons.json found, using local data only. ./tool/update.sh: line 6: dart: command not found ./tool/update.sh: line 7: dart: command not found ./tool/update.sh: line 8: dartfm
/tool/update.sh
进行更新时,出现了此错误。有什么解决办法吗
Custom icons.json found, using local data only.
./tool/update.sh: line 6: dart: command not found
./tool/update.sh: line 7: dart: command not found
./tool/update.sh: line 8: dartfmt: command not found
./tool/update.sh: line 9: dartfmt: command not found
我面临着完全相同的问题。该程序可用/bin/cache/dart sdk/bin/dartfmt路径 您可以从shell中更新PATH env变量。。或者更改脚本以使用此路径(硬编码) 以下是一个例子:
<FLUTTER_HOME>/bin/cache/dart-sdk/bin/dartfmt -w ./lib/font_awesome_flutter.dart
<FLUTTER_HOME>/bin/cache/dart-sdk/bin/dartfmt -w ./example/lib/icons.dart
/bin/cache/dart sdk/bin/dartfmt-w./lib/font\u awesome\u flatter.dart
/bin/cache/dart sdk/bin/dartfmt-w./example/lib/icons.dart
这方面有什么更新吗?我面临着同样的问题。