[Dev Tools] <Type error: Cannot read properties of undefined (reading "push") #736
-
Team or ProjectNo response EnvironmentTestnet Select the Dev Tool you are usingHardhat Plugins Provide the version of the tool (if applicable)The newest Provide a brief description of the functionality you're trying to implement and the issue you are running into.I am trying to implement a local instance of aave-v3-core, after cloning: https://github.com/aave/aave-v3-core. What is going on later is, I am getting the following error while I am trying to compile contracts with (npx hardhat compile --network zkSyncSepoliaTestnet): So, what could be the reason? I am using a node version v18.20.4, I cannot go any higher since this instance of aave is not allowing go any further than version 18 (version 14/16/18 is allowed). Repo Link (Optional)No response Additional DetailsNode version: v18.20.4 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The error you're encountering, "Type error: Cannot read properties of undefined (reading 'push')", typically indicates an issue with accessing an array or list-like structure that hasn't been properly initialized or is undefined at the time of access. This can occur in various scenarios, including misconfigurations or compatibility issues within your development environment. Here are a few steps and considerations to help troubleshoot and potentially resolve this issue:
If after these checks the issue persists, it might be beneficial to look for similar issues reported by other developers in community forums or even raise a question with specific details about your setup and the error in developer communities or directly in the repository issues if it seems related to a bug. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Looks like the version of |
Beta Was this translation helpful? Give feedback.
Looks like the version of
hardhat
in that repo is quite old and is not compatible with our plugin. Try updating it to2.22.x
. We'll add that to our docs.