npm ERR! code 1
npm ERR! path /usr/local/games/minecraft/node_modules/userid
npm ERR! command failed
npm ERR! command sh -c npm run build
npm ERR! >
userid@1.0.0-beta.9 build
npm ERR! > node-gyp rebuild
npm ERR!
npm ERR! gmake: Entering directory '/usr/local/games/minecraft/node_modules/userid/build'
npm ERR! CXX(target) Release/obj.target/userid/src/Gid.o
npm ERR! CXX(target) Release/obj.target/userid/src/Gids.o
npm ERR! gmake: Leaving directory '/usr/local/games/minecraft/node_modules/userid/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using
node-gyp@9.4.0
npm ERR! gyp info using
node@16.20.1 | freebsd | x64
npm ERR! gyp info find Python using Python version 3.9.18 found at "/usr/local/bin/python3.9"
npm ERR! gyp http GET
https://nodejs.org/download/release/v16.20.1/node-v16.20.1-headers.tar.gz
npm ERR! gyp http 200
https://nodejs.org/download/release/v16.20.1/node-v16.20.1-headers.tar.gz
npm ERR! gyp http GET
https://nodejs.org/download/release/v16.20.1/SHASUMS256.txt
npm ERR! gyp http 200
https://nodejs.org/download/release/v16.20.1/SHASUMS256.txt
npm ERR! gyp info spawn /usr/local/bin/python3.9
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/local/games/minecraft/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/games/minecraft/node_modules/userid/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/games/minecraft/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.20.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.20.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/games/minecraft/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.20.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/usr/local/games/minecraft/node_modules/userid',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn gmake
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/Gids.cc:114:19: error: use of undeclared identifier 'getgrouplist'
npm ERR! foundGroups = getgrouplist(username.c_str(), pw->pw_gid, groups, &ngroups);
npm ERR! ^
npm ERR! 1 error generated.
npm ERR! gmake: *** [userid.target.mk:112: Release/obj.target/userid/src/Gids.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/games/minecraft/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System FreeBSD 13.1-RELEASE-p7
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/games/minecraft/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /usr/local/games/minecraft/node_modules/userid
npm ERR! gyp ERR! node -v v16.20.1
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-31T14_49_09_778Z-debug-0.log
Command: /bin/sh -c cd /usr/local/games/minecraft && npm install npm@9 && npm install jsegaert/node-userid && npm install failed!
Failed to install MineOS.