Erick Romero
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
I am trying to initiliaze a library called lucid (npm install lucid-cardano) and it is erroring out- docs can be found here (https://lucid.spacebudz.io/).
code that want to be implemented:
<
"use node"
import { action } from "./_generated/server";
import { Blockfrost, Lucid } from "lucid-cardano";
export const doSomething = action({
handler: async () => {
const lucid = await Lucid.new( new Blockfrost("https://cardano-preprod.blockfrost.io/api/v0", "hdhdhddhdfhdhf"), "Preprod", );
}, }); > Error that i am getting: < Uncaught Failed to analyze _deps/node/KYCSLYXW.js: ENOENT: no such file or directory, open '/var/cardano_multiplatform_lib_bg.wasm' >
const lucid = await Lucid.new( new Blockfrost("https://cardano-preprod.blockfrost.io/api/v0", "hdhdhddhdfhdhf"), "Preprod", );
}, }); > Error that i am getting: < Uncaught Failed to analyze _deps/node/KYCSLYXW.js: ENOENT: no such file or directory, open '/var/cardano_multiplatform_lib_bg.wasm' >
21 replies