very_good_cli
very_good_cli copied to clipboard
App has errors in app_localizations.dart after `very_good create`
Description A clear and concise description of what the bug is.
Steps To Reproduce
-
Run this command in your terminal :
very_good create flutter_app foo
-
Go to the folder
foo/
-
Run the command :
flutter run --flavor development -t lib/main_development.dart
-
I see the error :
Error (Xcode): lib/l10n/l10n.dart:2:8: Error: Error when reading '../../../../../../../.pub-cache/hosted/pub.dev/flutter_gen-5.5.0+1/lib/gen_l10n/app_localizations.dart': No such file or directory
Expected Behavior
The code should compile after very_good create flutter_app foo
Screenshots
Additional Context
FYI, the error only occurs for common names. If I use a unique ID as the name of the app, it will work (ex : very_good create flutter_app xyz_abk_ojp
)
I am on macOS M2, Sonoma 14.5 very_good version : 0.22.0 Flutter version : 3.22.2