Hyperledger Fabric: cp: cannot stat ‘build/docker/gotools/bin/protoc-gen-go’: No such file or directory

0 votes

I am following this guide: http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#option-1-vagrant-development-environment.

When I try to 'make peer', command is shown as:

vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric/devenv$ cp: cannot stat 'build/docker/gotools/bin/protoc-gen-go': No such file or directory

Oct 29, 2018 in Blockchain by slayer
• 29,040 points

retagged Nov 22, 2018 by Priyaj 158 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Do this:

$go get -u github.com/golang/protobuf/protoc-gen-go
$ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/

Now you'll have the file mentioned in the error. Now run the make command

answered Oct 29, 2018 by Omkar
• 65,820 points

Related Questions In Blockchain

0 votes
1 answer

How to solve “ltdl.h: No such file or directory” error?

It seems like you are missing header ...READ MORE

answered Jul 26, 2018 in Blockchain by slayer
• 29,040 points
161 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

geth: Fatal: Failed to read genesis file: open “/home/edureka/privatechain/”: no such file or directory

Use this: geth --datadir ./data init ./custom_genesis.json READ MORE

answered Dec 5, 2018 in Blockchain by Omkar
• 65,820 points
111 views
0 votes
1 answer

Hyperledger Fabric: "No go in PATH" error.

The error is because the go path ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 65,820 points
193 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.