Tools, FAQ, Tutorials:
"Failed to load gRPC binary module" Error
Why am I getting the "Failed to load gRPC binary module" error when running a Node.js client application?
✍: FYIcenter.com
If your Node.js environment is out of sync, you will get the
"Failed to load gRPC binary module" error as shown below:
$ cp ~/hyperledger-binaries/fabric-samples/fabcar/javascript
$ node enrollAdmin.js
/home/fyicenter/hyperledger-binaries/fabric-samples/fabcar/javascript/node_modules\
/grpc/src/grpc_extension.js:55
throw error;
^
Error: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v57-linux-x64-glibc
Found: [node-v67-linux-x64-glibc]
This problem can often be fixed by running "npm rebuild" on the current system
...
Follow the suggestion to run "npm rebuild":
$ npm rebuild ... $ node enrollAdmin.js Wallet path: /home/fyicenter/hyperledger-binaries/fabric-samples/fabcar/javascript/wallet An identity for the admin user "admin" already exists in the wallet
As you can see, the issue is resolved.
⇒ commercial-paper Sample Network
⇐ registerUser.js - Register User to ca.example.com
2020-01-04, ∼3433🔥, 0💬
Popular Posts:
How to troubleshoot the Orderer peer? The Docker container terminated by itself. You can follow this...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to ...
What is EPUB 3.0 Metadata "dc:description" Element? EPUB 3.0 Metadata "dc:description" is an optiona...
How to build a test service operation to dump everything from the "context.Request" object in the re...