Skip to content

Error with Deno environment #2880

Open
Open
@RonanVandeligt

Description

@RonanVandeligt

I've been using supabase edge functions (which use deno) for a webhook that uses xrpl. Thus far, I've been using import * as xrpl from "https://esm.sh/xrpl" to import xrpl, and it has worked fine. But suddenly, for seemingly no reason, it stopped working, I have made no changes to my deno runtime (at least I believe so), and while the existing deployment still works on the edge function, I can no longer deploy without getting this error:

`Error: failed to create the graph

Caused by:
Module not found "https://esm.sh/@xrplf/isomorphic@^1.0.1/sha512?target=es2022".
at https://esm.sh/xrpl:5:8
error running container: exit 1`

I have tried using the xrpl official deno workaround (that just gave me a different error), and importing with npm:xrpl, which allows me to deploy but doesn't work when the function is run.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions