-
Notifications
You must be signed in to change notification settings - Fork 39
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
ContractLoader Error: Cannot find module './contracts/contracts.js'. #2
Comments
update: I had to move the contract files from |
yeah so the trick here is to run a 'clevis test publish' or 'clevis test full' before uncommenting the contract loader because it needs to inject the contracts in. However, we should probably do a better job of detecting that it's not there and throw a quiet error in the console instead of crashing the app. |
@austintgriffith I had the same issue, so I'll add a note in the docs. I am now getting "contract is undefined" from the Events component, despite the loader working properly.
|
I think on the Dapparatus side, let's just catch any of those errors quietly and dish them to the console. I hate that it breaks the the entire app when those contracts are missing. This is a change that would need to go into both the and the components to catch first time errors. |
Maybe Event loader is trying to load before ContractLoader has finished |
I'm not sure why but I can't seem to use ContractLoader
trying out the article https://medium.com/@austin_48503/%EF%B8%8Fclevis-blockchain-orchestration-682d2396aeef
with https://github.com/austintgriffith/broadcaster-example-dapp.git
The text was updated successfully, but these errors were encountered: