IBM / blockchainbean2

This code pattern shows how to model a supply-chain network using the IBM Blockchain Platform and is based on a collaboration with Brooklyn Roasting Company. The story, along with the supply-chain documents that were used to model this network, can be found at: https://www.ibm.com/blockchainbean. Note that the 'view the blockchain' button is being migrated''
https://developer.ibm.com/patterns/coffee-supply-chain-network-hyperledger-fabric-blockchain-2/
123 stars 84 forks source link

Error: Cannot find module 'fabric-network' #10

Closed ThejasP1997 closed 5 years ago

ThejasP1997 commented 5 years ago

image I'm getting this error. How to overcome it??

horeaporutiu commented 5 years ago

npm install is the answer! run npm install in that directory!

horeaporutiu commented 5 years ago

Let me know if that fixes it!

ThejasP1997 commented 5 years ago

Thank you. It helped me to solve the error. But when I try to run "node query.js", I'm getting "Error: Failed to connect before deadline URL" error. Please look into the image. image

ThejasP1997 commented 5 years ago

Thank you. It worked. But when I try to run "$node query.js", I'm getting "Error: Failed to connect before deadline URL" error. Please look into the image & help me solve the error. image

horeaporutiu commented 5 years ago

@ThejasP1997 this is likely a problem with your connection profile. Are you using the cloud network, or running this locally?

horeaporutiu commented 5 years ago

@ThejasP1997 I have replicated the problem and working to solve it now.

horeaporutiu commented 5 years ago

@ThejasP1997 I have now fixed the problem. If you want to try it, you would just have to clone the latest code, and everything should be working as expected.

Note that if you already have a Kubernetes cluster + IBM Blockchain Platform running, you will need to delete those services, and then create new ones and create the components again when using the latest updated code.

ash7594 commented 5 years ago

Closing Thread as problem is resolved

ManpreetSingh28 commented 4 years ago

@ThejasP1997 I have now fixed the problem. If you want to try it, you would just have to clone the latest code, and everything should be working as expected.

Note that if you already have a Kubernetes cluster + IBM Blockchain Platform running, you will need to delete those services, and then create new ones and create the components again when using the latest updated code.

Hello, I am trying to debugging but it on Local Network in IBM Blockchain Platform but it shows the below error:

fabric shim error

Moreover it also shows this: fabric shim error 2

Please help me in removing this error! Much Appreciated!