-
Notifications
You must be signed in to change notification settings - Fork 514
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
Using 2.2.9 common pkg, fabproto6.google.protobuf.Timestamp.create is not a function #494
Comments
For anyone who comes across this issue, I resolved it by adding a This is because both our protos, and fab protos, were not setting the root flag, and thus both proto generated packages would use:
I suggest Fabric do the same and generate all their protos under their own root to prevent this clober |
I see similar clober issue once before but not recently. would you mind give a Pull Request for it? |
@davidkhala I couldn't find your scripts for generating the protos. If you point me to the script I could make the PR. |
No, there was no need to have a script to get it fixed since it was fixed by maintainers once before. I am not quite sure if it is the same issue. |
There are some npm scripts in fabric-protos/package.json that are used to regenerate the protobufs published in the fabric-protos package |
Hi, we are running a node webapp and recently upgraded the packages
fabric-common
andfabric-network
to2.2.9
.We started receiving this error:
After debugging it, appears the
.create
method really is undefined. I attempted addingfabric-protos
pkg directly to my repo but still got the same error.Is there something else I'm supposed to import?
The text was updated successfully, but these errors were encountered: