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

Failed to import - [email protected]/types/providers/index.d.ts #589

Closed
ayame113 opened this issue Apr 12, 2023 · 2 comments
Closed

Failed to import - [email protected]/types/providers/index.d.ts #589

ayame113 opened this issue Apr 12, 2023 · 2 comments
Labels
deno Not working in Deno

Comments

@ayame113
Copy link

Failing module

> deno cache https://esm.sh/[email protected]/types/providers/index.d.ts

Error message

After running deno cache https://esm.sh/[email protected]/types/providers/index.d.ts I got this:

error: Import 'https://esm.sh/[email protected]/types/providers/abstract-provider.js' failed: 500 Internal Server Error
    at https://esm.sh/[email protected]/types/providers/index.d.ts:6:55

Additional info

  • esm.sh version: v114
  • Deno version: 1.32.3

Note: types/providers/index.d.ts tries to import types/providers/abstract-provider.js, but should types/providers/abstract-provider.d.ts be imported here?

@ayame113 ayame113 added the deno Not working in Deno label Apr 12, 2023
@ayame113 ayame113 changed the title Failed to import - Failed to import - [email protected]/types/providers/index.d.ts Apr 12, 2023
@ije ije closed this as completed in 279aeff Apr 12, 2023
@ije
Copy link
Member

ije commented Apr 12, 2023

you need to add /v155/ prefix to transform the dts for deno, but when i realized we can redirect to the correct path automatically so i added the fix patch quickly, thanks for reporting!

@ije
Copy link
Member

ije commented Apr 12, 2023

Screenshot 2023-04-12 at 20 54 36

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

No branches or pull requests

2 participants