kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
48 stars 43 forks source link

Issue while starting the backend #58

Closed ishitaa27 closed 2 years ago

ishitaa27 commented 2 years ago

Describe the bug Encountered an error while bringing up backend using command npm start. Error is: `nternal/modules/cjs/loader.js:796 throw err; ^

Error: Cannot find module 'fabric-network' `

To Reproduce Steps to reproduce the behavior:

  1. Go to 'cd app/server'
  2. Type 'npm start'

Screenshots Screenshot from 2021-10-27 15-56-05

Desktop (please complete the following information):

kshitijyelpale commented 2 years ago

Hi @ishitaa27,

I am sorry, we are forgotten to add 2 lines in report in implementation steps that before starting backend server, also do these steps

  1. Go to app/patient-asset-transfer/application-javascript install node project by npm install
  2. Go to app/patient-asset-transfer/chaincode install node project by npm install

Try this.

Regards, Kshitij

ishitaa27 commented 2 years ago

Hi @kshitijyelpale ,

This worked, thanks!!

Regards, Ishita