denoland / denoland/deploy_feedback

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

Open
#649 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### 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:

```ts
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/~](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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.