Closed dougreese closed 5 years ago
Simply regenerating the pb*.dart files solves this, but due to 3dd4207809523e6579aeaab139a085c69f757621 it looks like this needs to be done during the release process, not as a pull request, with an updated protoc_plugin.
I'm getting this error too. What would be the step-by-step for workaround?
Using:
@supermuka This is what worked for me. Assuming a Linux development environment (maybe MacOS as well -- not tested), to regenerate the pertinent datepicker files:
cd ~/.pub-cache/hosted/pub.dartlang.org/angular_components-0.12.0/lib/material_datepicker/proto
protoc -I=. --dart_out=. *.proto
pubspec.yaml
:
dependency_overrides:
protobuf: ^0.13.4
Thanks @dougreese, this works for me too.
Fixed in 447e040c14a8a0840d08cf7ed79ec1c57705642e. The published angular_components v0.13 includes the updated dependency.
I need a change released in protobuf
0.13.3
. I'm using a dependency override to get past the specified0.10.4
protobuf dependency (usingprotobuf: ^0.13.4
). However, this results inmaterial_datepicker
build errors. It looks like the problem is related to a protobuf 0.11.0 breaking change.Build errors:
I am using protoc_plugin 16.0.1