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
mona@Monas-MacBook-Pro op-sample-project % node
Welcome to Node.js v18.17.0.
Type ".help" for more information.
> const optimism = require("@eth-optimism/sdk");
Uncaught TypeError: Cannot read properties of undefined (reading 'AddressZero')
at Object.<anonymous> (/Users/mona/git/tests/op-sample-project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@eth-optimism/sdk/dist/utils/chain-constants.js:34:40)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
I was not able to proceed with the guide because of this error.
The text was updated successfully, but these errors were encountered:
Brief Description of the Docs Request
Hey, I was following the guide Bridging ERC-20 Tokens to OP Mainnet With the Optimism SDK and received the following error when requiring the OP SDK:
I was not able to proceed with the guide because of this error.
The text was updated successfully, but these errors were encountered: