We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run esbuild serve with the -w parameter, it dies with this error:
-w
11:55 $ node esbuild.config.mjs -w [watch] build finished, watching for changes... Serving π Local β http://localhost:3000 file:///home/mike/workspace/teamway-test/node_modules/create-serve/src/utils/getIp.js:6 .find(ip => ip.family == 'IPv4' && !ip.internal).address; ^
It seems that there is some assumption in getIp that doesn't hold (ip.family is numeric on my machine).
getIp
ip.family
Node vesion: 18. Ubuntu version: 22.
The text was updated successfully, but these errors were encountered:
It looks like a bug, because according to the documentation, networkInterfaces only returns numeric 4 or 6. I can provide a PR to fix it.
networkInterfaces
4
6
Sorry, something went wrong.
Hi, I'm having this issue currently. @mzedeler did you have a good fix? If so, could you put up a PR?
Actually, this looks like an issue in nativew/serve. Also here is the issue/PR that resolves it.
No branches or pull requests
When I run esbuild serve with the
-w
parameter, it dies with this error:It seems that there is some assumption in
getIp
that doesn't hold (ip.family
is numeric on my machine).Node vesion: 18.
Ubuntu version: 22.
The text was updated successfully, but these errors were encountered: