INFURA / demo-eth-tx

Ethereum transactions demo
MIT License
103 stars 77 forks source link

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

Open kimr01 opened 2 years ago

kimr01 commented 2 years ago

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)