denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

[Bug]: Dynamic imports from JSR aren't working #649

Open nestarz opened 7 months ago

nestarz commented 7 months ago

Problem description

It seems there is a newly introduced bug with Deno Deploy: Dynamic imports from JSR aren't working for some packages. Ex for this simple code:

await import("jsr:/@bureaudouble/islet@0.0.38/client");
Deno.serve((req: Request) => new Response("Hello World"));

I get:

Failed to deploy: module not found jsr:/@bureaudouble/islet@0.0.38/client

But it does exists: https://jsr.io/@bureaudouble/islet@0.0.38/doc/client/~

It's the same for other versions, and it used to worked.

Steps to reproduce

Here is the playground: https://dash.deno.com/playground/dynamic-jsr

Expected behavior

Dynamic JSR imports should work

Environment

No response

Possible solution

No response

Additional context

No response