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 - @web3-storage/w3up-client #787

Open
talentlessguy opened this issue Jan 7, 2024 · 1 comment
Open

Failed to import - @web3-storage/w3up-client #787

talentlessguy opened this issue Jan 7, 2024 · 1 comment
Labels
deno Not working in Deno

Comments

@talentlessguy
Copy link
Contributor

Failing module

import { create } from 'https://esm.sh/@web3-storage/w3up-client'

Error message

After running deno run I got this:

Uncaught TypeError: Import 'https://esm.sh/v135/@ucanto/[email protected]/denonext/src/lib.js' failed: 500 Internal Server Error
    at https://esm.sh/v135/@ucanto/[email protected]/denonext/core.mjs:2:1389
    at async <anonymous>:1:41

opening in the browser yields this:

/* esm.sh - error */
throw new Error("[esm.sh] " + "esbuild: No matching export in \"../esmd/npm/@ucanto/[email protected]/node_modules/.pnpm/@[email protected]/node_modules/@ucanto/core/src/lib.js\" for import \"panic\"");
export default null;

Additional info

  • esm.sh version: v135
  • Deno version: 1.39.1
@talentlessguy talentlessguy added the deno Not working in Deno label Jan 7, 2024
@talentlessguy
Copy link
Contributor Author

Same happens with:

import { Agent } from 'https://esm.sh/@web3-storage/[email protected]/agent'
const agent = await Agent.create()

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

1 participant