Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arbify parsing error #5

Open
Holofox opened this issue Aug 25, 2020 · 0 comments
Open

Arbify parsing error #5

Holofox opened this issue Aug 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@Holofox
Copy link

Holofox commented Aug 25, 2020

Hello! An exception was thrown, the cause of which is not yet known:

Output directory doesn't exist. Creating... done.
ru                  Downloading... done.
Generating l10n.dart file... done
Generating messages dart files... Error in parsing lib/l10n/l10n.dart, no messages extracted.
Unhandled exception:
Invalid argument(s): Parsing errors in lib/l10n/l10n.dart
#0      MessageExtraction._parseCompilationUnit (package:intl_translation/extract_messages.dart:117:7)
#1      MessageExtraction.parseContent (package:intl_translation/extract_messages.dart:102:14)
#2      MessageExtraction.parseFile (package:intl_translation/extract_messages.dart:87:12)
#3      IntlTranslation.generateFromArb.<anonymous closure> (package:arbify/src/generator/intl_translation.dart:58:44)
#4      MappedListIterable.elementAt (dart:_internal/iterable.dart:417:31)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:343:26)
#6      IntlTranslation.generateFromArb (package:arbify/src/generator/intl_translation.dart:59:30)
#7      ArbifyCli._runIntlTranslationGenerateFromArb (package:arbify/src/arbify_cli.dart:286:23)
#8      ArbifyCli.runDownload (package:arbify/src/arbify_cli.dart:182:5)
<asynchronous suspension>
#9      ArbifyCli.run (package:arbify/src/arbify_cli.dart:57:13)
#10     main (file:///Volumes/Development/SDK/flutter/.pub-cache/hosted/pub.dartlang.org/arbify-0.0.11/bin/download.dart:4:21)
#11     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
pub finished with exit code 255

My JSON file schema is correct.

@Albert221 Albert221 added the bug Something isn't working label Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants