TypeError: Cannot read property 'length' of undefined #173
-
Nothing to compile Error: ERROR processing E:\PatrickSolidity\hardhat-fund-me\deploy\00-deploy=mocks.js: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there, Can you please look into your config and confirm if "nameAccounts" property have the following values? namedAccounts: {
deployer: {
default: 0, // here this will by default take the first account as deployer
1: 0, // similarly on mainnet it will take the first account as deployer. Note though that depending on how hardhat network are configured, the account 0 on one network can be different than on another
},
}, You can also checkout the answer to similar question at: #69 If it doesn't works, please share the whole error which shows up in your terminal. |
Beta Was this translation helpful? Give feedback.
Hi there,
It is a GREAT question ⚡️
Can you please look into your config and confirm if "nameAccounts" property have the following values?
If it doesn't please paste them in your hardhat.config.js
You can also checkout the answer to similar question at: #69
Let me know if this works or not 😊
If it doesn't works, please share the whole err…