Closed
Description
- Version: 11.15.0, 12.13.0, 13.1.0
- Platform: AIX 7.2
- Subsystem: os?
The simple check:
./node -e 'const os = require("os"); const interfaces = os.networkInterfaces(); for (const interface in interfaces) {console.log(interface); const addrs = interfaces[interface]; for (const addr of addrs) {console.log(addr.address)}}'
NodeJS 10.17.0 returns nothing.
NodesJS 11.15.0, 12.13.0, 13.10 return:
throw new ERR_SYSTEM_ERROR(ctx);
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: undefined returned undefined (undefined)
at Object.networkInterfaces (os.js:195:16)
at [eval]:1:49
at Script.runInThisContext (vm.js:116:20)
at Object.runInThisContext (vm.js:306:38)
at Object.<anonymous> ([eval]-wrapper:9:26)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at evalScript (internal/process/execution.js:80:25)
at internal/main/eval_string.js:23:3 {
code: 'ERR_SYSTEM_ERROR',
info: {},
errno: [Getter/Setter: undefined],
syscall: [Getter/Setter: undefined]
}
As a consequence - yarn doesn't work.