Skip to content

Lesson 9 : TypeError: Cannot read properties of undefined (reading 'length') #5600

Closed Answered by aaankeet
Alanle1011 asked this question in Q&A
Discussion options

You must be logged in to vote

@Alanle1011
typo in your deploy.raffle.js

const raffle = await deploy("Raffle", {
    form: deployer,   <---- it should be from
    args: args,
    log: true,
    waitConfirmations: network.config.blockConfirmations || 1,
  });

Replies: 1 comment 1 reply

Comment options

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

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