Sunday, December 23, 2018

ABI file misses some functions

While developing application with truffle it gives me this error

Uncaught (in promise): TypeError: ..... is not a function

Where as that function was present in my solidity code. I checked the abi file and figure out that the abi file is not having that function

Solution:

1) Delete the json file created
 2) Stop the TestRpc server
3) truffle network --clean
4) Compile again truffle compile

No comments:

Post a Comment