Skip to content

How to fix contract.retrieve is not a function #2824

Answered by RoboCrypter
Xardesso asked this question in Q&A
Discussion options

You must be logged in to vote

@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!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Xardesso
Comment options

Answer selected by Xardesso
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Xardesso
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants