IBM / blockchainbean2

This code pattern shows how to model a supply-chain network using the IBM Blockchain Platform and is based on a collaboration with Brooklyn Roasting Company. The story, along with the supply-chain documents that were used to model this network, can be found at: https://www.ibm.com/blockchainbean. Note that the 'view the blockchain' button is being migrated''
https://developer.ibm.com/patterns/coffee-supply-chain-network-hyperledger-fabric-blockchain-2/
123 stars 84 forks source link

Error while starting local fabric #7

Closed Vishnupriya-M closed 5 years ago

Vishnupriya-M commented 5 years ago

Hello, On step 4 i had a problem.When i tried to start fabric run time (local) it shown the error: "Failed to execute command "/bin/sh" with arguments "start.sh" return code 1".

[18/3/2019 9:01:46 PM] [IMPORTANT] Log files can be found by running the Developer: Open Logs Folder command from the palette

[18/3/2019 9:01:46 PM] [INFO] Starting IBM Blockchain Platform Extension [18/3/2019 9:01:46 PM] [INFO] Ensuring local runtime exists in runtime manager [18/3/2019 9:01:46 PM] [INFO] Registering commands [18/3/2019 9:01:46 PM] [INFO] IBM Blockchain Platform Extension activated [18/3/2019 9:01:52 PM] [INFO] packageSmartContract [18/3/2019 9:01:58 PM] [ERROR] Error: Package with name and version already exists. Please change the name and/or the version of the project in your package.json file. [18/3/2019 9:03:18 PM] [INFO] startFabricRuntime [18/3/2019 9:03:18 PM] [INFO] # don't rewrite paths for Windows Git Bash users [18/3/2019 9:03:18 PM] [INFO] export MSYS_NO_PATHCONV=1 [18/3/2019 9:03:18 PM] [INFO] docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb logs [18/3/2019 9:03:18 PM] [INFO] Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? [18/3/2019 9:03:18 PM] [INFO] If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. [18/3/2019 9:03:52 PM] [INFO] startFabricRuntime [18/3/2019 9:03:52 PM] [INFO] # don't rewrite paths for Windows Git Bash users [18/3/2019 9:03:52 PM] [INFO] export MSYS_NO_PATHCONV=1 [18/3/2019 9:03:52 PM] [INFO] docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb logs [18/3/2019 9:03:52 PM] [INFO] Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? [18/3/2019 9:03:52 PM] [INFO] If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

horeaporutiu commented 5 years ago

This is a problem with Docker. What is your docker version? You can check with the following commands:

~$ docker -v
Docker version 18.09.2, build 6247962

Note that you must have Docker v17.06.2-ce or greater.

Vishnupriya-M commented 5 years ago

~$ docker -v Docker version 18.09.2, build 6247962 I've the same version, but still showing the error. What can I do? Thank you.

horeaporutiu commented 5 years ago

I think this is the problem

Error: Package with name and version already exists. Please change the name and/or the version of the project in your package.json file.

Please go ahead and update the version number in your package.json and then try again.

horeaporutiu commented 5 years ago

@Vishnupriya-M is the problem fixed?

horeaporutiu commented 5 years ago

Closing bc no activity.