Facing Error while migrate truffle network - truffle

I am facing error while executing these command
truffle migrate --network
enter image description here
I am expecting resource to resolve above issue

Related

i am trying to run the node of ganache but getting this error

I am trying to run the node of ganache but getting this error.please resolve my problem.

composer network install instruction giving Erorr: Error trying install business network. Error: No valid responses from any peers

I am trying to install a network using Hyperledger Composer but I am getting some errors. I used the following instruction
composer network install --archiveFile vote-network#1.0.0.bna --card PeerAdmin#hlfv1
and its giving me this error...
✖ Installing business network. This may take a minute...
Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: Failed to connect before the deadline
Response from attempted peer comms was an error: Error: Failed to connect before the deadline
Command failed
My fabric is running, I have all the containers running in my docker. Some answers suggested that proxy was the issue and I tried to disable the proxy with different instructions, but I don't know it is disabled or it is actually the issue or not. When I run the command...
curl http://www.google.com
I am getting response in html which means that proxy is still running (as per another suggestion).
Please help in resolving the issue.
what OS are you running? If uBuntu, try older version 16.04 LTS. I had a similar message and went down to 16.04 and it works.

startFabric.sh fails with docker compose command not find

I am following the tutorial on writing your first application to make a sample hyperledger fabric application. I am using Ubuntu 16.04 and I have installed prerequisites as well as binaries and docker images. When I move into fabric-samples/fabcar, after npm install. I run:
./startFabric.sh
I get the following error:
docker-compose -f docker-compose.yml down.
./start.sh: line 13: docker-compose: command not found.
I looked into ./startFabric.sh by nano. Line 13 is as follows:
starttime=$(date +%s)
LANGUAGE=${1:-"golang"}
This is a screen shot of the error I get:
It may be irrelevant, but I have also issues running .byfn -m up as I have posted on issue with byfn. I am not sure if these two are related. But obviously neither can I start fabric, nor can I build a network.
I appreciate any help to solve the issue.
Thank you for your attention.
You should install docker. If you already installed docker, you should check if your docker bin folder is referenced in your PATH environment variable.
https://docs.docker.com/install/

Error installing chaincode while deploying .bna file using Hyperledger Composer on local machine with Fabric 1.0.0 Production Release

I am following the my-network tutorial from the Hyperledger Composer docs and am getting the following error when deploying the .bna file to Fabric.
The command I use is:
composer network deploy -a my-network.bna -p hlfv1 -i PeerAdmin -s randomString
Error message:
✖ Deploying business network definition. This may take a minute...
Error: error trying deploy. Error: error trying install chaincode. Error: Connect Failed
Command failed
I am on OSX and have all the required preliminaries.
I had exactly the same error - assuming you are following the Hyperledger Composer Developer Guide.
I think this error comes about because at the end of installing the developer environment you run a command to stop and tear down the Fabric, but then the Developer Guide does not instruct you to restart it.
To fix I changed back to the fabric-tools directory and re-started Fabric:
cd ../..
./startFabric.sh
Returning to the original directory I then tried deploying it again:
cd my-network/dist/
composer network deploy -a my-network.bna -p hlfv1 -i PeerAdmin -s randomString
This got me to the Command succeeded all clear the guide tells you to expect.
Good luck.
Go to the directory which contains the bna file, usually; it is under your sample folder\dist
Then run the following:
$ composer network install -a my-network.bna -c PeerAdmin#hlfv1

Facing error in npm install on aws ubuntu

I'm trying to deploy my angular 2 application on aws ubuntu.
I have successfully install npm on ubuntu. but by the time I'm trying to build my application on using "npm install", I'm facing "extract:typescript → gunz" error and process getting killed as shown in the attachment. Can someone please help me.?
You need to add swap on your Ubuntu
This will fix this error and npm will install all angular data successfully
follow this instructions
From here

Resources