SHARE
TWEET

Untitled

a guest Jun 27th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const certificate = Certificate.deployed();
  2.      
  3. const certificate = Certificate.at(config.contract_id);
  4.      
  5. TypeError: Cannot read property 'apply' of undefined
  6. at Provider.sendAsync (/home/manzik/esatya/ecertificate/node_modules/truffle-contract/contract.js:23:36)
  7. at RequestManager.sendAsync (/home/manzik/esatya/ecertificate/node_modules/truffle-contract/node_modules/web3/lib/web3/requestmanager.js:80:19)
  8. at Object.get [as getNetwork] (/home/manzik/esatya/ecertificate/node_modules/truffle-contract/node_modules/web3/lib/web3/property.js:116:33)
  9. at /home/manzik/esatya/ecertificate/node_modules/truffle-contract/contract.js:477:27
  10. at new Promise (<anonymous>)
  11. at Function.detectNetwork (/home/manzik/esatya/ecertificate/node_modules/truffle-contract/contract.js:468:14)
  12. at Function.deployed (/home/manzik/esatya/ecertificate/node_modules/truffle-contract/contract.js:416:19)
  13. at Object.<anonymous> (/home/manzik/esatya/ecertificate/server/helpers/web3.helper.js:42:33)
  14. at Module._compile (module.js:652:30)
  15. at loader (/home/manzik/esatya/ecertificate/node_modules/babel-register/lib/node.js:144:5) }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top