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

Error in punycode dependency #70

Open
faekiva opened this issue Jan 2, 2025 · 0 comments
Open

Error in punycode dependency #70

faekiva opened this issue Jan 2, 2025 · 0 comments

Comments

@faekiva
Copy link

faekiva commented Jan 2, 2025

With import-dns.ts as

import { getAllDnsRecords } from 'jsr:@layered/[email protected]'

const allRecords = await getAllDnsRecords('x.com')
console.log(allRecords)

The follow error occurs

faekiva@home:~$ deno run --allow-all import-dns.ts
error: Uncaught SyntaxError: The requested module 'npm:punycode@^2.1.1' does not provide an export named 'toASCII'
import { toASCII } from 'npm:punycode@^2.1.1'
         ^
    at <anonymous> (https://jsr.io/@layered/dns-records/2.1.0/src/dns-resolvers.ts:1:10)
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

1 participant