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

Update dnt to solve library resolution issue #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tobil4sk
Copy link

Current version was causing this error:

Download https://registry-staging.deno.com/@std/path/meta.json
WARN Failed fetching https://registry-staging.deno.com/@std/path/meta.json. Retrying in 250ms...
WARN Failed fetching https://registry-staging.deno.com/@std/path/meta.json. Retrying in 500ms...
WARN Failed fetching https://registry-staging.deno.com/@std/path/meta.json. Retrying in 1000ms...
panicked at wasm\src\lib.rs:24:1:
unexpected exception: JsValue(TypeError: client error (Connect)
TypeError: client error (Connect)
    at async mainFetch (ext:deno_fetch/26_fetch.js:170:12)
    at async fetch (ext:deno_fetch/26_fetch.js:391:7)
    at async fetchWithRetries (https://deno.land/x/[email protected]/file_fetcher.ts:280:19)
    at async FileFetcher.#fetchRemote (https://deno.land/x/[email protected]/file_fetcher.ts:209:22)
    at async FileFetcher.fetch (https://deno.land/x/[email protected]/file_fetcher.ts:261:24))

See:

@hallvors
Copy link

I ran into this when trying to run the code from the official documentation. Tried both with Deno 1.45 and 2, was rather confused. Thank you for fixing.

@hallvors
Copy link

Same example code is also on the Deno blog: https://deno.com/blog/publish-esm-cjs-module-dnt - if docs need updating here please also fix the blog post. (I have not dived into whether the published code needs updating or not after all fixes have landed).

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

Successfully merging this pull request may close these issues.

2 participants