-
Notifications
You must be signed in to change notification settings - Fork 270
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
Failed to generate the grpc code for Dart --dart_out: protoc-gen-dart: Plugin failed with status code 252. #93
Comments
@tanphathuynh did you manage to solve this as I am having the same issue |
@lvh1g15 I am still having this problem on my computer. But I tried to generate on another new machine, it works. Still not sure what the problem is. |
Try re-install/upgrade protoc_plugin everytime Dart is updated on your system. That solves it for me. |
@mohammed90 thanks for the help |
Any link/info on simple way to reinstall the plugin? |
|
Closing as assume resolved. Please reopen with more details if not. |
I follow the instruction to download and install protoc and protoc plugin for dart here.
I use Linux
protoc version 3.6.0
I could not generate the code for dart and this error message came out:
--dart_out: protoc-gen-dart: Plugin failed with status code 252.
and
Crash when compiling file:///home/phat/.pub-cache/global_packages/protoc_plugin/bin/protoc_plugin.dart.snapshot, at character offset null: String starting with ' must end with '. #0 ErrorToken.lexeme (package:front_end/src/fasta/scanner/error_token.dart:74:24) #1 _withArgumentsExpectedDeclaration (file:///tmp/tmpcU3f4j/dart-2.0.0-dev.64.1/dart/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart:1989:25) #2 Parser.reportRecoverableErrorWithToken (package:front_end/src/fasta/parser/parser.dart:6020:20)
Thank you!
The text was updated successfully, but these errors were encountered: