Skip to content

nodejs on AIX 7.2 os.networkInterfaces throws system error #30504

Closed
@aklyachkin

Description

@aklyachkin
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aixIssues and PRs related to the AIX platform.libuvIssues and PRs related to the libuv dependency or the uv binding.osIssues and PRs related to the os subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions