Closed raman2072 closed 6 years ago
OK, as usual, a little bit bit of more digging around solved the problem.
1) You need to wipe out the .composer directory in home between server restarts. 2) You need to copy the credentials to your HLF location.
For Chapter 6, The pre-populate list works fine, except for loading the orders. I presume this has to do with exporting the cards. If anyone who encountered this issue and has a solution, please let me know.
getMyOrders req.body.userID is: abby@kidfriendlyinc.com businessNetwork connect failed { Error: Card not found: abby@kidfriendlyinc.com at store.get.then.catch /home/ramesh/software/blockchain/ZeroToBC/Chapter06/node_modules/composer-common/lib/cardstore/walletbackedcardstore.js:74:27) at
cause:
{ Error: ENOENT: no such file or directory, stat '/home/ramesh/.composer/cards/abby@kidfriendlyinc.com'
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/home/ramesh/.composer/cards/abby@kidfriendlyinc.com' } }