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
You are using @emurgo/cardano-serialization-lib-nodejs in a React environment, which I assume is for a frontend application running on a browser. You don't need to add those 4 dependencies, only 1 of them, and the best candidates for a browser environment are:
The error your are getting means that TextDecoder is not built-in within your javascript environment. It's a default node library that usually needs to be polyfilled in a browser JS environment.
I get this error after installing in react the 4 serialisation libraries in a React app.
trying to convert
addr1
intostake1
with this:The text was updated successfully, but these errors were encountered: