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

Fails to import ipfs-http-client #109

Closed
talentlessguy opened this issue Sep 4, 2021 · 1 comment
Closed

Fails to import ipfs-http-client #109

talentlessguy opened this issue Sep 4, 2021 · 1 comment

Comments

@talentlessguy
Copy link
Contributor

Reproduction

import { create } from 'https://esm.sh/ipfs-http-client@52.0.2?target=es2020'

What I get

Download https://cdn.esm.sh/v47/multiformats@9.4.7/bases/interface.d.ts
Download https://cdn.esm.sh/v47/multiformats@9.4.7/codecs/interface.d.ts
Download https://cdn.esm.sh/v47/multiformats@9.4.7/hashes/interface.d.ts
Download https://cdn.esm.sh/v47/multiformats@9.4.7/cid.d.ts
Download https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=fs&importer=electron
error: Import 'https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=fs&importer=electron' failed: 500 Internal Server Error
    at https://cdn.esm.sh/v47/electron@14.0.0/es2020/electron.js:2:0
@ije ije closed this as completed in f75f6f2 Sep 5, 2021
@ije
Copy link
Member

ije commented Sep 5, 2021

@talentlessguy just fixed in f75f6f2, i will deploy this later. please remove the ?target since this param would not build deno ployfills.

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

No branches or pull requests

2 participants