IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.02k stars 977 forks source link

Facing problem while running command 'node install_chaincode.js' #173

Closed rohagarw closed 6 years ago

rohagarw commented 6 years ago

[fcw] Going to enroll with admin cert! peer_urls=[grpc://192.168.99.100:7051], channel_id=mychannel, uuid=marbles-Docker Compose Network-mychannel-fabric-peer-org1, orderer_url=grpc://192.168.99.100:7050, msp_id=Org1MSP events.js:183 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open 'C:\Users\rohit.hfc-key-store\cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv'

Facing the above error..I tried to debug it and I think the error is in file ..\fabric-samples\marbles\utils\fc_wrangler\enrollment.js from line no. 196

Thanks in advance..!!

dshuffma-ibm commented 6 years ago

try what this guy did which was to:

Copied the contents of /fabcar/hfc-key-store into a newly created folder Users/Govind/.hfc-key-store. Now it works.