beeekind/vue-grpc

go dependency install missing

Opened this issue · 2 comments

Thanks for this project!

Had to go get from server/ to avoid errors when running npm run start

Ya - I've noticed various bugs crop up in builds on different machines and environments, mainly having to do either with npm or the protobuf compiler. I don't have the time or motivation to abstract this completely... the best solution if you intend to distribute a similar project would be to wrap it in a Dockerfile with pinned dependencies.

I had both npm and protoc installed already (view brew). The issue was some of the go packages in server.go like "github.com/improbable-eng/grpc-web/go/grpcweb" were not in the scripts/get_go_deps.sh script. I'll see if I can make a PR but I understand this is a proof of concept. This issue should be enough for anyone trying it to get a workaround. Thanks again :)