You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't manage to run successfully the application createTradeApp.js.
My environment is the following
Ubuntu Version 16.04
Nodejs set to 9.8.0 as per README
Hyperledger branch 1.1
the versions of both fabric-client and fabric-ca-client installed are "1.1.2" and grpc "1.10.1
I run successfully the Dev environment exercise .
For the 9 container JS application I applied the following steps
Delete client_certs, channel-artifacts, crypto-config folders in network
./trade.sh generate -c tradechannel within network to generate the channel and crypto material
./trade.sh up to start the network ( the 9 containers indeed start)
node createTradeApp.js
the error is
CHANNEL JOIN FAILED: TypeError: Cannot read property 'stack' of undefined
at Client.newDefaultKeyValueStore.then.then.then.then (/root/go/src/github.com/hyperledger/trade-finance-logistics/middleware/join-channel.js:205:61)
at
Please help , I strongly want to learn from your book.
Thanks
Germal
Sorry for the late reply. You configuration and setup looks fine to me. From the error symptom, and what I see in the log you have attached, I'd guess the error is because of old/mismatched credentials or perhaps old channel artifacts, but you say you deleted them before you started.
Can you just confirm that you deleted the client-certs folder (wherever you configured that; by default, it should be in the network folder.) In your comment above, you say you deleted client_certs (with an underscore, not a dash.)
When I run the code with an identical configuration to yours and after cleaning everything up, everything runs fine, as it has since the code was developed, so I'm not sure what's different in your environment. When you retry, make sure you delete not just the folders on disk but also the running docker containers and the volumes.
Hello , I just deleted and re-pulled the images of docker containers and the scripts work perfectly !
Thank you very much, your book is top quality , please let us know about your further courses and publications.
Hello,
I didn't manage to run successfully the application createTradeApp.js.
My environment is the following
Ubuntu Version 16.04
Nodejs set to 9.8.0 as per README
Hyperledger branch 1.1
the versions of both fabric-client and fabric-ca-client installed are "1.1.2" and grpc "1.10.1
I run successfully the Dev environment exercise .
For the 9 container JS application I applied the following steps
Delete client_certs, channel-artifacts, crypto-config folders in network
./trade.sh generate -c tradechannel within network to generate the channel and crypto material
./trade.sh up to start the network ( the 9 containers indeed start)
node createTradeApp.js
the error is
CHANNEL JOIN FAILED: TypeError: Cannot read property 'stack' of undefined
at Client.newDefaultKeyValueStore.then.then.then.then (/root/go/src/github.com/hyperledger/trade-finance-logistics/middleware/join-channel.js:205:61)
at
Please help , I strongly want to learn from your book.
Thanks
Germal
network.log.txt
The text was updated successfully, but these errors were encountered: