0

Problem:

I have set up a blockchain application using Hyperledger fabric and I did lots of transactions using my client application which in React Through Node SDK backend. But today I tried to restart the network but it did not start any peer and gave me this error.

Cannot run peer because cannot init crypto, folder "//opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp" does not exist

I tried all the solution provided in this question.

similar question

Can someone help me to solve this problem? Thank you.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
dwp
  • 908
  • 4
  • 24
  • 42
  • Can you provide some details on your environment? Host OS, Docker distro (e.g. Docker for Windows, Docker Toolbox), how are you running Fabric, etc – Gari Singh Aug 07 '19 at 11:08
  • @GariSingh I am using Docker for Windows to run Fabric – dwp Aug 08 '19 at 02:09
  • How are you stopping and then starting the network? And what is actually using `//opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp` ? – Gari Singh Aug 08 '19 at 11:20

1 Answers1

0

I solved this issue by resetting docker.

dwp
  • 908
  • 4
  • 24
  • 42