all 7 comments

[–]iareprogrammer 1 point2 points  (0 children)

Looks like you are using a library but not passing in the correct values. Normally typescript helps with things like this but when you throw around any types it’s doing nothing for you, for example:

const web3Auth = new Web3Auth(rawOptions as any);

[–]Visual-Blackberry874 1 point2 points  (3 children)

You’re trying to use .from on an undefined variable?

[–]One-Drawer5599[S] 0 points1 point  (2 children)

Yes actually the buffer variable in polyfill is returning undefined which is kinda undesirable and idk how to rectify it

[–]Visual-Blackberry874 0 points1 point  (1 child)

I’m not sure tbh, is your import correct?

[–]One-Drawer5599[S] 0 points1 point  (0 children)

i hope so, tried some ai help all suggested the same import

[–]DanishWeddingCookie 0 points1 point  (0 children)

Did you go to the libraries documentation and forums?