Hyperledger Fabric: "No go in PATH" error.

0 votes

Hi. I'm new to Hyperledger and following this tutorial: 
https://github.com/ITPeople-Blockchain/auction 

When I run the make native command, 

I recived following error:

Makefile:71: *** "No go in PATH: Check dependencies". Arresto.

What should I do to solve this error?

Jun 27, 2018 in Blockchain by digger
• 27,630 points
285 views

1 answer to this question.

0 votes
Best answer

The error is because the go path is not set.

To solve this error, you can do the following

1. Find where you have installed go lang.
whereis go

2. Export using the following command:

export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin

3. Add GOROOT/bin to your PATH

This should solve the error.

answered Jun 27, 2018 by Omkar
• 67,290 points

selected Jun 27, 2018 by digger

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

REQUEST_TIMEOUT error in Hyperledger Fabric, Linux

My docker version was 1.7. And its ...READ MORE

answered Jul 6, 2018 in Blockchain by Christine
• 15,790 points
399 views
0 votes
1 answer

How to set chaincode path in Hyperledger Fabric?

For chaincode to properly run on your ...READ MORE

answered Jul 27, 2018 in Blockchain by digger
• 27,630 points
463 views
0 votes
1 answer

Why is there no infinite loop problem in Hyperledger Fabric?

Hyperledger uses a timeout mechanism for chaincode ...READ MORE

answered Jul 29, 2018 in Blockchain by digger
• 27,630 points
89 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,630 points
60 views
+1 vote
1 answer
0 votes
1 answer

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

Do this: $go get -u github.com/golang/protobuf/protoc-gen-go $ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/ Now ...READ MORE

answered Oct 29, 2018 in Blockchain by Omkar
• 67,290 points
240 views
0 votes
1 answer