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

Doesn't work out of the box (Deno.close is not a function) #47

Open
Jollywatt opened this issue Dec 29, 2024 · 1 comment
Open

Doesn't work out of the box (Deno.close is not a function) #47

Jollywatt opened this issue Dec 29, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Jollywatt
Copy link

Just trying this out with a fresh install, and receive this error, which seems internal:

error: Uncaught (in promise) TypeError: Deno.close is not a function
    ifconfig && (await Deno.close(ifconfig.rid))
                            ^
    at getNetworkAddr (https://deno.land/x/[email protected]/utils/local-ip.ts:35:29)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async main (https://deno.land/x/[email protected]/mod.ts:326:17)

Installed with:

❯ deno install --global --allow-net --allow-read --allow-write --allow-run https://deno.land/x/denoliver/mod.ts
Warning Implicitly using latest version (2.3.1) for https://deno.land/x/denoliver/mod.ts

Environment:

macos-aarch64

❯ deno --version
deno 2.1.4 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
@joakimunge
Copy link
Owner

Hey. Thanks for this!

Looks like it is not compatible with the Deno 2.0 release. I am not actively developing this currently, but feel free to open a PR 🙏

@joakimunge joakimunge added enhancement New feature or request help wanted Extra attention is needed labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants