Skip to content

getIp diesΒ #5

Description

@mzedeler

When I run esbuild serve with the -w parameter, it dies with this error:

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).

Node vesion: 18.
Ubuntu version: 22.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions