Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Deno environment #2880

Open
RonanVandeligt opened this issue Jan 19, 2025 · 0 comments
Open

Error with Deno environment #2880

RonanVandeligt opened this issue Jan 19, 2025 · 0 comments

Comments

@RonanVandeligt
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant