Cannot read properties of undefined (reading 'includes') #5472
-
I am running into several erros in my repository while running hh deploy
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@Bhavik-punmiya In your helper-hardhat-config.js instead of const {developmentChains} = ["hardhat", "localhost"] try just |
Beta Was this translation helpful? Give feedback.
-
change develomentChains to developmentChain |
Beta Was this translation helpful? Give feedback.
-
@Bhavik-punmiya Change these things;
- const {developmentChains} = ["hardhat", "localhost"];
+ const developmentChains = ["hardhat", "localhost"];
- const networkConfig = {
- network: {
- 11155111: {...},
- 31337: {...},
- },
- }
+ const networkConfig = {
+ 11155111: {...},
+ 31337: {...},
+ }
- chainID : 31337,
- chainID : 11155111,
+ chainId : 31337,
+ chainId : 11155111, |
Beta Was this translation helpful? Give feedback.
@Bhavik-punmiya Change these things;