aniket-engg / hyperledger-medical-network Goto Github PK
View Code? Open in Web Editor NEWThis is a Hyperledger Composer based sample project which is developed considering a medical use case.
License: MIT License
This is a Hyperledger Composer based sample project which is developed considering a medical use case.
License: MIT License
Unknown arguments: card, businessNetworkName, runtime, install
please help with this. How can I resolve this.
Hi Aniket,
When login it give card not found or undefined or null
Hi
I have tested executing the .bna file and run the composer-rest-server on localhost:3000
Now i wanted to test the frontend.
I followed the commands npm install and npm start and i get the error.
Please help me
On executing npm install error follows:
[email protected] start /home/aarathi/EHR-New/Hyperledger-Medical-Network-master
babel-node --inspect --presets es2015 server.js --inspect
sh: 1: babel-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: babel-node --inspect --presets es2015 server.js --inspect
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aarathi/.npm/_logs/2020-04-18T17_20_20_200Z-debug.log
aarathi@aarathi-Lenovo-E41-80:~/EHR-New/Hyperledger-Medical-Network-master$ npm install
npm WARN tarball tarball data for [email protected] (sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for [email protected] (sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/utils-merge-2df9839a/package.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/utils-merge-2df9839a/README.md'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/sliced-cf86d9cb/package.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mquery-5c78e45d/package.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/utils-merge-2df9839a/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/sliced-cf86d9cb/README.md'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mquery-5c78e45d/.eslintignore'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/utils-merge-2df9839a/index.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/sliced-cf86d9cb/LICENSE'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mquery-5c78e45d/.travis.yml'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/utils-merge-2df9839a/.travis.yml'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/sliced-cf86d9cb/index.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mquery-5c78e45d/History.md'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/sliced-cf86d9cb/History.md'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/ecc-jsbn-478b5a54/lib/LICENSE-jsbn'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/protobufjs-0b349857/README.md'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/ecc-jsbn-478b5a54/lib/ec.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/ecc-jsbn-478b5a54/lib/sec.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/source-map-f6e61cf1/dist/source-map.min.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/composer-common-f0d6d1cd/lib/introspect/parser.pegjs'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mongodb-25a78a02/lib/command_cursor.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mongodb-core-965b4d33/lib/connection/utils.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mongodb-25a78a02/lib/constants.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/mongodb-25a78a02/lib/cursor.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aarathi/EHR-New/Hyperledger-Medical-Network-master/node_modules/.staging/raml-xml-validation-6e5afd6f/browser_version/package.json'
npm WARN [email protected] No repository field.
npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting [email protected]:
npm ERR! Verification failed while extracting [email protected]:
npm ERR! sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA== integrity checksum failed when using sha512: wanted sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA== but got sha512-eH2OTP9s55vojr3b7NBaF9i4WhWPkv/nq55nznWNp/FomKrLViprUcqnBjHph2tFQ+7KciGPTPsVWGz0SOhL0Q==. (672290 bytes)
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aarathi/.npm/_logs/2020-04-18T17_20_37_356Z-debug.log
on executing npm start error as follows:
[email protected] start /home/aarathi/EHR-New/Hyperledger-Medical-Network-master
babel-node --inspect --presets es2015 server.js --inspect
sh: 1: babel-node: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: babel-node --inspect --presets es2015 server.js --inspect
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aarathi/.npm/_logs/2020-04-18T16_30_20_573Z-debug.log
Also I am unable to open the debug files since permission denied
โ Upgrading business network definition. This may take a minute...
Error: Error trying to upgrade business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: cannot get package for chaincode (my-network:0.20.6)
Hi Aniket,
Many thanks for your reply. The network has been installed. The server is running but it is giving an error path api/v1 not found. Can you please guide me on this. I will be really thankful of you.
Steps I have taken for the project are:
cloned your repository.
installed the network.
run the network.
create angular skeleton.
run the server but the server is giving error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.