Hi, I get the following error on running yarn deploy:local.
TypeError: lotteryInstance.init is not a function
at main (/home/eth/lottery-contract/scripts/deploy.js:85:27)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
error Command failed with exit code 1.
Hi, I get the following error on running
yarn deploy:local
.Any suggestions why this is the case?