lucacasonato / esbuild_deno_loader

Deno module resolution for `esbuild`
https://deno.land/x/esbuild_deno_loader
MIT License
160 stars 43 forks source link

Error when importing JSR packages with jsr specifiers: "Importing a JSR package via an HTTPS URL is not implemented." #113

Closed nestarz closed 6 months ago

nestarz commented 6 months ago

Description of the problem:

I'm encountering an error when importing JSR packages using jsr specifiers in my Deno project. The error message states:

"Importing a JSR package via an HTTPS URL is not implemented. Use a jsr: specifier instead for the time being."

However, I'm already using jsr specifiers everywhere.

Steps to reproduce:

Create a Deno project with a deno.json file that includes JSR dependencies using jsr specifiers. Attempt to import the JSR packages in your code using esbuild_deno_loader, those JSR packages must have also other JSR packages as dependencies.

Expected behavior:

The JSR packages should import successfully.

Actual behavior:

The error message mentioned above is displayed.

Environment:

Deno version: 1.41 esbuild_deno_loader version: 0.9 Relevant package versions (e.g., @bureaudouble/bureau): @bureaudouble/bureau: 0.0.4 @bureaudouble/islet: 0.0.7

Additional context:

It appears that the issue might be originating within esbuild_deno_loader itself.

Request:

Kindly investigate this issue and provide guidance on how to resolve it.

Thank you for your attention to this matter.

Sincerely,