You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that https://deno.land/x/grammy/mod.ts re-exports Bot (src) so my guess is that the binary only contains the modules that are imported directly, but not those that get imported transitively.
KnorpelSenf
changed the title
deno compile creates a binary that cannot find its HTTP import dependencies
bug: deno compile creates a binary that cannot find its HTTP import dependencies
Oct 27, 2024
I think it’s missing redirects. If you import the resolved specifier it will probably work.
Can confirm that this fixed it.
dsherret
changed the title
bug: deno compile creates a binary that cannot find its HTTP import dependencies
bug: deno compile creates a binary that doesn't properly handle HTTP redirects
Oct 27, 2024
Version: Deno 2.0.3
Repro
Create any script with an HTTP import, such as this one:
Compile it and run the binary.
You will see the following output.
Instead, it is expected that the script runs correctly and that the output is just
secret-token
.Cause
This works correctly with 2.0.2.
I used
git bisect
to narrow it down to #26494. /cc @dsherretThe text was updated successfully, but these errors were encountered: