0

enter image description here

I am getting this error when I deploy my contract in ganache using the command node deploy.js

1 Answer 1

1

The provider declaration should have been:

const provider = new ethers.providers....

new keyword was missing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.