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

Uncaught Error: Not implemented: udp.UDP.prototype.unref #23575

Open
FDiskas opened this issue Apr 26, 2024 · 0 comments
Open

Uncaught Error: Not implemented: udp.UDP.prototype.unref #23575

FDiskas opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat

Comments

@FDiskas
Copy link

FDiskas commented Apr 26, 2024

deno --version
deno 1.36.1 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6

I have tested simple code and got the Uncaught error

Uncaught Error: Not implemented: udp.UDP.prototype.unref

Reproducible code

import util from 'node:util';
import nslookup from 'npm:nslookup';

const debuglog = util.debuglog('test');
const domain = 'example.com';

debuglog('Looking up', domain);

nslookup(domain)
.server('208.67.222.123')
.type('a')
.timeout(10 * 1000)
.end(function(error, address) {
    debuglog('got ip', address[0], 'for', domain);
});

executed by running

NODE_DEBUG=test deno run test.js

image

@bartlomieju bartlomieju added bug Something isn't working node compat node API polyfill Related to various "node:*" modules APIs labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat
Projects
None yet
Development

No branches or pull requests

2 participants