Chaincode Installation error in Hyperledger Fabric 2.2

72
January 24, 2022, at 01:10 AM

~/go/src/github.com/hyperledger/fabric-samples/test-network$ peer lifecycle chaincode install simple_chaincode.tar.gz

Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "+ INPUT_DIR=/chaincode/input

  • OUTPUT_DIR=/chaincode/output
  • cp -R /chaincode/input/src/. /chaincode/output
  • cd /chaincode/output
  • '[' -f package-lock.json -o -f npm-shrinkwrap.json ]
  • npm ci '--only=production' npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/colors/-/colors-1.4.1.tgz npm ERR! 404 npm ERR! 404 'colors@1.4.1' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-01-22T10_37_30_201Z-debug.log

I am trying to install a simple chaincode but facing this error.

READ ALSO
RNFSManager.RNFSFileTypeRegular is undefined

RNFSManager.RNFSFileTypeRegular is undefined

Am using Expo SDK 42 and react-native : 063

73
I want to make python code that opens a file reads first 2 lines and send resoults using discord webhook

I want to make python code that opens a file reads first 2 lines and send resoults using discord webhook

i have this core right now and it doesn't work if anyone could help it would be great

82