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

Got undefined getNetworkAddr #5

Open
rockXload opened this issue Sep 12, 2022 · 1 comment
Open

Got undefined getNetworkAddr #5

rockXload opened this issue Sep 12, 2022 · 1 comment

Comments

@rockXload
Copy link

rockXload commented Sep 12, 2022

i got undefined using the latest version

import { getNetworkAddr } from 'https://deno.land/x/local_ip/mod.ts';
const netAddr = await getNetworkAddr(); // undefined
@joakimunge
Copy link
Owner

Hey @rockXload

Thanks for reporting the issue. As of denoland/deno#13475, Deno now has support for fetching networkInterfaces natively, so this module is more than likely to be deprecated.

I'd recommend using that instead!

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

2 participants