admin管理员组

文章数量:1401281

I have added firebase_ui_localizations to my pubspec and created a firebase_ui_da.arb file for Dansih in the l10n directory, but when I run:

dart run firebase_ui_localizations:gen_l10n

I get this error:

Unhandled exception:
PathNotFoundException: Cannot open file, path = '/Users/skn/code/app/../../header_template.txt' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:58:9)
#1      _File.open. (dart:io/file_impl.dart:441:7)

#2      _File.readAsBytes. (dart:io/file_impl.dart:648:24)

#3      _File.readAsString (dart:io/file_impl.dart:715:18)

#4      getLicenseHeader (file:///Users/skn/.pub-cache/hosted/pub.dev/firebase_ui_localizations-1.13.1/bin/gen_l10n.dart:174:20)

#5      main (file:///Users/skn/.pub-cache/hosted/pub.dev/firebase_ui_localizations-1.13.1/bin/gen_l10n.dart:44:25)

Any ideas?

本文标签: flutterfirebaseuilocalizations fails to generate localizations with errorStack Overflow