Open starrycheng opened 6 years ago
@starrycheng Hi What does the hyper-ledger log say when you try and deploy the contract?
@bigboss88 Hi , I did not specify any log file generated when I run node deploy.js
under the directory of /src/micro/ioheavy/hyperledger. Or what other log files do you indicate?
@starrycheng Hi
When your run the hyperledger peer the terminal should show a log similar to this
As you can see when I deployed the chaincode in the log it showed that it was successfully deployed. Any error from the chain-code or generated by hyper-ledger will appear here
@bigboss88 Hi, under what directory and what command line should we execute so that we run the hyperledger peer? I am still confused about that.
@starrycheng Hi
I'm going to assume you want to run hyperledger-fabric 0.6
You have to download hyperledger separate. I believe block-bench may already come with an installer
In benchmark/hyperledger
there should be a script called install.sh
Or you can follow this guide
I'm not sure how well it will work on MacOS
@ijingo when I run
node deploy.js
there is an error encounteredparse error
, the specific information of this issue is listed as follows:I am wondering how to solve it, is it related to the version of node? Or there is some mistakes in the code
deploy.js
?