Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

TypeError: Cannot read properties of undefined (reading 'toHexString') #17

Open
kimr01 opened this issue Jun 4, 2022 · 0 comments
Open

Comments

@kimr01
Copy link

kimr01 commented Jun 4, 2022

PS C:\Users\richa\projects\infuraITX\demo-eth-tx\infura-transactions> node balance.js
C:\Users\richa\projects\infuraITX\demo-eth-tx\node_modules@ethersproject\bytes\lib\index.js:9
return !!(value.toHexString);
^

TypeError: Cannot read properties of undefined (reading 'toHexString')
at isHexable (C:\Users\richa\projects\infuraITX\demo-eth-tx\node_modules@ethersproject\bytes\lib\index.js:9:21) at hexlify (C:\Users\richa\projects\infuraITX\demo-eth-tx\node_modules@ethersproject\bytes\lib\index.js:175:9)
at new SigningKey (C:\Users\richa\projects\infuraITX\demo-eth-tx\node_modules@ethersproject\signing-key\lib\index.js:20:82)
at new Wallet (C:\Users\richa\projects\infuraITX\demo-eth-tx\node_modules@ethersproject\wallet\lib\index.js:78:36)
at main (C:\Users\richa\projects\infuraITX\demo-eth-tx\infura-transactions\balance.js:11:18)
at Object. (C:\Users\richa\projects\infuraITX\demo-eth-tx\infura-transactions\balance.js:22:1)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant