EatTheBlocks Forum

Cannot read property 'call' of undefined


I am facing this issue while deploying the Flashloan contract to the mainnet.

I am able to successfully run it in the development network.


Deploying ‘Migrations’

Error: *** Deployment Failed ***
“Migrations” – Cannot read property ‘call’ of undefined.

Can someone help. Thanks.

Are you using the latest version of Truffle?
Is your deployment script exactly like in Github?