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.
When I run esbuild serve with the
-wparameter, it dies with this error:It seems that there is some assumption in
getIpthat doesn't hold (ip.familyis numeric on my machine).Node vesion: 18.
Ubuntu version: 22.