DZhangLab / HIDe-dApp

Health Identity DEcentralized
0 stars 0 forks source link

Creating a first dApp #17

Closed zhangpn closed 1 year ago

zhangpn commented 2 years ago

Follow this tutorial to set up a dApp using Fabric. The outcome of this issue is to:

katherinehuu commented 2 years ago

Failed commands

  1. Tutorial 1:

    peer chaincode instantiate -o orderer.example.com:7050 --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C $CHANNEL_NAME -n mycc -v 1.0 -c '{"Args":["init","a", "100", "b","200"]}' -P "OR ('Org1MSP.peer','Org2MSP.peer')"

  2. Tutorial 2:

    docker rm -f $(docker ps -aq)

  3. Tutorial 2:

    npm install

  4. Tutorial 2:

    node enrollAdmin.js

Error message for #3: node-gyp rebuild || node suppress-error.js

No receipt for 'com.apple.pkg.CLTools_Executables' found at ‘/‘. No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'. gyp: No Xcode or CLT version detected!