securekey / fabric-examples

133 stars 58 forks source link

Error while attempting to run CLI: undefined: fab.PeerState #17

Closed Shirikatsu closed 5 years ago

Shirikatsu commented 5 years ago

After solving dep issues and another superuser GOPATH issues, managed to get make populate to work.

Then attempting to run the CLI errors with:

$ go run fabric-cli.go 
# github.com/securekey/fabric-examples/fabric-cli/cmd/fabric-cli/printer
printer/blockprinter.go:1406:25: undefined: fab.PeerState

Expected to see a list of available commands.

Shirikatsu commented 5 years ago

Re-cloning the repository to remove stale data seems to have solved this issue as there must have been an incomplete populate.