user5277: Trying a few different examples out there and I am getting the error:
The requested module '/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm?import' does not provide an export named '__wbg_address_free'
Using this project:
https://github.com/HarmonicPool/cardano-wallet-interface
Loader:

let private_wasm = undefined;
/**
 * *.wasm module can only be imported asyncronously
 * Loader class allow to load the cardano serializaton lib once and make it aviable every time
 */
 class Loader {

  
    // always call this method to be shure the wasm has been loaded;
    static async load() {
  
      //load once
      if ( private_wasm !== undefined ) return;
  
      /**
       * @private
       */
       private_wasm = await import(
        "@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib"
      );
    }
  
    static get Cardano() {
      return private_wasm;
    }
  }
    
  module.exports = Loader;

Any ideas why? The loader looks same as every example I've seen out there.

user6196: I found that using WASM comes with a lot of headaches ...
There is a non-wasm version of the same lib which I have installed and have been using. Here is my github repo with an example:
https://github.com/dynamicstrategies/cardano-wallet-connector
The non-wasm npm to install is here:
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs

5277: <p>Trying a few different examples out there and I am getting the error:</p>
<p>The requested module '/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm?import' does not provide an export named '__wbg_address_free'
Using this project:</p>
<p><a href="https://github.com/HarmonicPool/cardano-wallet-interface" rel="nofollow noreferrer">https://github.com/HarmonicPool/cardano-wallet-interface</a></p>
<p>Loader:</p>
<pre><code>
let private_wasm = undefined;
/**
 * *.wasm module can only be imported asyncronously
 * Loader class allow to load the cardano serializaton lib once and make it aviable every time
 */
 class Loader {

  
    // always call this method to be shure the wasm has been loaded;
    static async load() {
  
      //load once
      if ( private_wasm !== undefined ) return;
  
      /**
       * @private
       */
       private_wasm = await import(
        &quot;@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib&quot;
      );
    }
  
    static get Cardano() {
      return private_wasm;
    }
  }
    
  module.exports = Loader;
</code></pre>
<p>Any ideas why? The loader looks same as every example I've seen out there.</p>
 6196: <p>I found that using WASM comes with a lot of headaches ...</p>
<p>There is a non-wasm version of the same lib which I have installed and have been using. Here is my github repo with an example:</p>
<p><a href="https://github.com/dynamicstrategies/cardano-wallet-connector" rel="nofollow noreferrer">https://github.com/dynamicstrategies/cardano-wallet-connector</a></p>
<p>The non-wasm npm to install is here:</p>
<p><a href="https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs" rel="nofollow noreferrer">https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs</a></p>
