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 - ipfs-utils/src/http.js #553

Closed
talentlessguy opened this issue Mar 20, 2023 · 5 comments
Closed

Failed to import - ipfs-utils/src/http.js #553

talentlessguy opened this issue Mar 20, 2023 · 5 comments
Labels
deno Not working in Deno

Comments

@talentlessguy
Copy link
Contributor

Failing module

import HTTP from 'https://esm.sh/ipfs-utils/src/http.js'

Error message

After running deno run I got this:

Uncaught TypeError: __0$.bind is not a function
    at https://esm.sh/v111/ipfs-utils@9.0.14/deno/src/http.js:2:1638
    at https://esm.sh/v111/ipfs-utils@9.0.14/deno/src/http.js:2:1110
    at https://esm.sh/v111/ipfs-utils@9.0.14/deno/src/http.js:2:4537

I found a .bind here but I'm not sure if it's related to the bug

Additional info

  • esm.sh version: 111
  • Deno version: 1.31.3
@talentlessguy talentlessguy added the deno Not working in Deno label Mar 20, 2023
@ije
Copy link
Member

ije commented Mar 20, 2023

thanks, i will look into it

@ije
Copy link
Member

ije commented Mar 21, 2023

@talentlessguy
Copy link
Contributor Author

@ije is it possible for esm.sh to resolve dynamic requires as await import()?

@ije
Copy link
Member

ije commented Mar 23, 2023

this shoud be fixed in v112

@talentlessguy
Copy link
Contributor Author

it's working, thank you very much!

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