You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of a sudden I have started to experience the following error when trying to compile using Hardhat:
> hardhat compile
An unexpected error occurred:
TypeError: Cannot read properties of undefined (reading 'push')
at extendEnvironment (/Users/boyuanxu/Documents/GitHub/TokenTable-Unlock-Contract/node_modules/@matterlabs/hardhat-zksync-deploy/node_modules/hardhat/src/internal/core/config/config-env.ts:143:28)
at Object.<anonymous> (/Users/boyuanxu/Documents/GitHub/TokenTable-Unlock-Contract/node_modules/@matterlabs/hardhat-zksync-deploy/src/index.ts:11:18)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Object.require.extensions.<computed> [as .js] (/Users/boyuanxu/Documents/GitHub/TokenTable-Unlock-Contract/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object.<anonymous> (/Users/boyuanxu/Documents/GitHub/TokenTable-Unlock-Contract/hardhat.config.ts:14:1)
hardhat.config.ts:14 is import '@matterlabs/hardhat-zksync-deploy'. This started to happen when I upgraded the plugin versions to 1.0.0 but now downgrading to the previous version doesn't fix this problem. Here is what I have:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Which compiler are you using?
Which version of Solidity or Vyper?
0.8.17
zksolc/zkvyper version?
latest
Explain the issue
All of a sudden I have started to experience the following error when trying to compile using Hardhat:
hardhat.config.ts:14
isimport '@matterlabs/hardhat-zksync-deploy'
. This started to happen when I upgraded the plugin versions to 1.0.0 but now downgrading to the previous version doesn't fix this problem. Here is what I have:Any help would be appreciated, thanks.
Link to your repo?
No response
Beta Was this translation helpful? Give feedback.
All reactions