How to “unrecognized import path error” while using go for hyperledger fabric?

0 votes

The command I am running and the error is as follows:

mkdir -p build/bin
cd gotools && make install BINDIR=/root/gocode/bin
make[1]: Entering directory '/root/gocode/src/'
make[2]: Entering directory '/root/gocode/src/'
Building -> golint
package unrecognized import path "" (https fetch: Get net/http: TLS handshake timeout)
Makefile:47: recipe for target 'gotool.golint' failed

How to solve this?

Jul 27, 2018 in Blockchain by digger
• 27,620 points

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

The solution to this problem is as follows:

#mkdir -p gotools/build/gopath/src/
#cd gotools/build/gopath/src/
#git clone
#cd $GOPATH/src/
#make gotools
answered Jul 27, 2018 by slayer
• 29,040 points

Related Questions In Blockchain

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
• 66,910 points
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,620 points
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

© 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.