I am getting this error when I deploy my contract in ganache using the command node deploy.js
1 Answer
The provider declaration should have been:
const provider = new ethers.providers....
new
keyword was missing.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityThe provider declaration should have been:
const provider = new ethers.providers....
new
keyword was missing.