abi-utils icon indicating copy to clipboard operation
abi-utils copied to clipboard

@metamask/eth-sig-utils imports @metamask/abi-utils and causes an error

Open jdbertron opened this issue 1 year ago • 0 comments

To be honest, I have no idea why this is happening. I'm using @metamask/[email protected] @metamask/[email protected] and this is the error I get:

Cannot read properties of undefined (reading 'type') TypeError: Cannot read properties of undefined (reading 'type') at http://localhost:3030/static/js/bundle.js:648939:42 at Array.map () at union (http://localhost:3030/static/js/bundle.js:648939:31) at ./node_modules/@metamask/abi-utils/dist/parsers/function.js (http://localhost:3030/static/js/bundle.js:56688:29) at options.factory (http://localhost:3030/static/js/bundle.js:695040:31) at webpack_require (http://localhost:3030/static/js/bundle.js:694419:32) at fn (http://localhost:3030/static/js/bundle.js:694698:21) at ./node_modules/@metamask/abi-utils/dist/parsers/index.js (http://localhost:3030/static/js/bundle.js:56816:14) at options.factory (http://localhost:3030/static/js/bundle.js:695040:31) at webpack_require (http://localhost:3030/static/js/bundle.js:694419:32)

jdbertron avatar Jun 21 '24 03:06 jdbertron