'Error when trying to bring up the test network

I trying to follow tutorials and develope on Ubuntu. Then get an error when comes to "Bring up the test network" part. I successfully run the following command to print the script help text of the test network.

./network.sh -h

When I want to run the next command to bring up the network

./network.sh up

I get the message as follow

Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'

ERROR! Peer binary and configuration files not found..

May somebody tells me what's happened? Kindly helps.



Solution 1:[1]

first bring down the network to clean up

cd test-network
./network.sh down

start the network agian

./network.sh up

Solution 2:[2]

Before you can deploy the test network, you need to follow the instructions to Install the Samples, Binaries and Docker Images in the Hyperledger Fabric documentation.

Solution 3:[3]

I had the same issue, looks like you need to fetch system specific binaries: https://hyperledger-fabric.readthedocs.io/en/release-2.2/test_network.html

I ran the curl command in the root dir without specifying the versions.

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s

Make sure you add the ./bin to .gitignore

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 milon27
Solution 2 suiwenfeng
Solution 3 Murty