title: Hyperledger Fabric tutorial "Error: unknown flag: --peerAddresses"
body: <p>I am following along the tutorial at <a href="http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html" rel="nofollow noreferrer">http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html</a></p>
  
  <p>I am copy&amp;pasting along the way and opted for the Node.js variants where choice was offered.</p>
  
  <pre><code>peer chaincode invoke -o orderer.example.com:7050 --tls true --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 --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0.org2.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt -c '{"Args":["invoke","a","b","10"]}'
  </code></pre>
  
  <p>When I get to the code above, it gives me the error "Error: unknown flag: --peerAddresses"</p>
  
  <p>Please see below the terminal history:</p>
  
  <p><a href="https://paste.ubuntu.com/p/xC5NNQVJyW/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/xC5NNQVJyW/</a></p>
  
  <p>Please do tell if you need additional information</p>