How to fix contract.retrieve is not a function #2824
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@Xardesso : Correct the spelling of retrieve on line: 22 in your From this : Like this : Let me know, If it resolves your issue! |
Beta Was this translation helpful? Give feedback.
-
Hello @Xardesso please make sure you are using the correct spelling of the retrieve function found in your |
Beta Was this translation helpful? Give feedback.
-
@Xardesso Make sure to correct the spelling mistake const currentFavoriteNumber = await contract.retrieve(); |
Beta Was this translation helpful? Give feedback.
@Xardesso : Correct the spelling of retrieve on line: 22 in your
deploy.js
file :From this :
retrive
To this :retrieve
Like this :
const currentFavoriteNumber = await contract.retrieve()
Let me know, If it resolves your issue!