T_murder
T_murder

Reputation: 31

v0.19.0 composer network start failed

Composer Version: 0.19.0

Mac OS

Steps:

Got error

✖ Starting business network definition. This may take a minute... Error: Error trying to start business network. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message: cannot get package for chaincode (basic-sample:0.0.1)) Command failed

Retry:

use npmrcFile:

content of npmConfig.txt:

registry=https://registry.npm.taobao.org

Still Failed.

Upvotes: 0

Views: 879

Answers (1)

R Thatcher
R Thatcher

Reputation: 5570

I think this is the exact same problem as logged to an Issue on the Composer prpoject on GitHub.

https://github.com/hyperledger/composer/issues/3794

The short answer to this is that the network name on the start command is wrong. The name of the network is likely to be basic-sample-network.

The way to check the Name and the Version is to issue this command:

composer archive list -a basic-sample.bna

Upvotes: 1

Related Questions