Comments (3)
Hi @incubus8 I'm trying to reproduce the error you're seeing but I'm not having much luck. Can you try running git pull
to grab the latest version of the repo?
I'm running the same 3.1.0
version of Protobuf:
github.com/harlow/go-micro-services(master) $ protoc --version
libprotoc 3.1.0
Proto's are building for me:
github.com/harlow/go-micro-services(master) $ make pb
for f in pb/**/*.proto; do \
protoc --go_out=plugins=grpc:. $f; \
echo compiled: $f; \
done
compiled: pb/geo/geo.proto
compiled: pb/profile/profile.proto
compiled: pb/rate/rate.proto
Let me know if the latest version of Repo is still failing for you and I can try to help dig in deeper.
from go-micro-services.
Might be worth running:
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
Just to make sure the latest versions are on your system.
https://github.com/grpc/grpc-go/tree/master/examples#optional---rebuilding-the-generated-code
from go-micro-services.
@harlow Many thanks. I have resolved myself. I have to put the project in my GOPATH
directory $GOPATH/src/github/harlow/go-micro-services
in order to build the binary.
Also, as a notice, the prebuilt GRPC code is different with my local. But I have resolved it by running make pb
again in my local.
Many thanks, it works now, u rock!!
from go-micro-services.
Related Issues (20)
- Add back in Trace Visualization
- Refactor loop in code path
- Build problems with metadata errors HOT 1
- Service API error? HOT 2
- Add lightstep instrumentation to project HOT 1
- Some extension ideas :) HOT 2
- Optimize the build process w/ Docker compose HOT 1
- Microservices fail to start without Stackdriver variables in .env file.
- .env.sample is missing
- Alternative to Google Stackdriver HOT 1
- Any example for using service discovery (e.g. consul) with this code? HOT 3
- Implement client-side loadbalancing
- is there a plan to support k8s HOT 1
- Are there any benefits to use consul instead of Kubernetes for service discovery? HOT 1
- access microservices HOT 3
- Question about the GRPC protoc version HOT 2
- codahale/hdrhistogram repo url has been transferred under the github HdrHstogram umbrella
- grpc dialer issue HOT 1
- Use database instead of data binding from JSON HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-micro-services.