Emurgo / cardano-serialization-lib

This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.
Other
234 stars 125 forks source link

TypeError: WebAssembly.Module(): Argument 0 must be a buffer source #552

Closed bigirishlion closed 1 year ago

bigirishlion commented 1 year ago

I'm getting this error when I run jest tests.

TypeError: WebAssembly.Module(): Argument 0 must be a buffer source

    > 1 | import lib from '@emurgo/cardano-serialization-lib-nodejs';

Any idea why this is happening?

lisicky commented 1 year ago

Hi @bigirishlion! Do you still have that problem ? Could you provide information about used CSL version and your environment ?

bigirishlion commented 1 year ago

Seems to be working now. Thanks @lisicky