rajivjc / clinicaltrials-on-blockchain

Demonstrate how blockchains can be used to improve data transparency in clinical trials
16 stars 7 forks source link

Reference Error: Regulator is not defined #8

Open mundipf opened 5 years ago

mundipf commented 5 years ago

What I did

After starting the app exactly as in README.md, I can reach it in the browser as expected.

Result

Clicking "Initiate Regulator Contract" has no effect. None of the other controls (except the tab buttons) have any effect.

Javascript console shows this error

Reference Error: Regulator is not defined

I also get ClinicalTrial is not defined.

However, on the regulator tab, there is an account. Same on CRO and Pharma.

Expected Result

App should generate assets as demoed in the video.

EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2)
Truffle v3.2.1
ipfs version 0.4.15