Closed kareem-adel-1990 closed 4 years ago
You've tried npm install
and npm rebuild
before running node enrollAdmin.js
?
Yes . . I tried to solve it by changing FileSystemWallet to Wallets
Another question Can you help to build a web-app to submit transactions on Ibp cloud
Did that work?
And you may want to check the front-end code here - https://github.com/IBM/evote/tree/master/web-app/client
I am not a front-end specialist, and I would consider going to front end tutorials instead. This tutorial is about using Hyperledger Fabric framework to create a blockchain network. The front-end is not the focus here.
The front end we have in this tutorial is just a Swagger doc, and should help bridge the gap between UI and blockchain back-end.
Hopefully that helps. But as a general rule of thumb, any sort of front end can submit transactions to your blockchain back end. That is why I am suggesting to check more specific front-end resources if your focus is to build (front-end) web-app
Yes when i changed FileSystemWallet to Wallets . . It worked
when i wrote "node enrollAdmin.js", i got that message Please Help me Failed to enroll admin user app-admin: TypeError: FileSystemWallet is not a constructor