esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Failed to import - @lit-protocol/lit-node-client-nodejs - v2 and v3

Open JEndler opened this issue 2 years ago • 0 comments

Failing module

  • GitHub: https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-node-client-nodejs
  • npm: https://www.npmjs.com/package/@lit-protocol/lit-node-client-nodejs
import * as LitJsSdk from "https://esm.sh/v133/*@lit-protocol/[email protected]";

Error message

After running supabase functions deploy I got this:

error: Uncaught (in promise) Error: Relative import path "@ethersproject/transactions" not prefixed with / or ./ or ../ and not in import map from "https://esm.sh/v133/@lit-protocol/[email protected]/X-ZS8q/deno/lit-node-client-nodejs.mjs"
      const ret = new Error(getStringFromWasm0(arg0, arg1)); 

Additional info

  • esm.sh version: v133
  • Deno version: v1.37.2
  • Supabase version: 1.106.1

JEndler avatar Oct 25 '23 14:10 JEndler