Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the rest server connect to a remote hyperledger fabric blockchain? #2

Open
idoor88 opened this issue Feb 1, 2020 · 0 comments
Open

Comments

@idoor88
Copy link

idoor88 commented Feb 1, 2020

I installed the project by npm install, it installed successfully and run the command:
npm run start, I got an error as attached, I feel it is because I did not install docker? why it asks the file org1.network-profile.yaml, do I need to install the hyperledger-fabric? can I use a remote hyperledger-fabric, which is installed in the cloud by my co-worker? by the way, I can not install docker on my Mac, since I do not have admin right, and I am not allowed to have admin right.

Error: Failed to read or parse the network profile at '/Users/myhome/hyperledger-fabric-network/network-profiles/org1.network-profile.yaml', Error: ENOENT: no such file or directory, open '/Users/myhome/hyperledger-fabric-network/network-profiles/org1.network-profile.yaml'
server: at FabricControllerAdapter. (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/@worldsibu/convector-common-fabric-helper/src/client.helper.ts:118:15)
server: at step (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/tslib/tslib.js:136:27)
server: at Object.throw (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/tslib/tslib.js:117:57)
server: at rejected (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/tslib/tslib.js:108:69)
server: Error: Context in /Users/myhome/hyperledger-fabric-network/.hfc-org1/admin does not exist. Make sure that path resolves to your key stores folder
server: at ReadFileContext. (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/packages/server/src/convector.ts:29:15)
server: at step (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/tslib/tslib.js:136:27)
server: at Object.next (/Users/myhome/workspace/reacttest/convector-example-fabcar-rest/node_modules/tslib/tslib.js:117:57)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant