I’ve been searching through this forum for days now trying figure out this issue. When trying to update the webUI I get an error from npm install, specifically for the posix build process. It spits out error code ELIFECYCLE and the error output references thats class v8 has no member class ForceSet. It also throws a ton of warnings about the nan nodejs package.
firstname.lastname@example.org install /usr/games/minecraft/node_modules/posix
make: Entering directory ‘/usr/games/minecraft/node_modules/posix/build’
In file included from …/node_modules/nan/nan.h:190,
…/node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
…/node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
[PAGES OF NAN RELATED WARNING MESSAGES HERE]
gyp ERR! build error
gyp ERR! stack Error:
makefailed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.16.8-1-ARCH
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/games/minecraft/node_modules/posix
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! email@example.com install:
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-11T03_17_31_779Z-debug.log
Any insight would be greatly appreicated. I first noticed this issue after I upgraded to Linux 4.16. I’ve followed the instructions from the wiki but it always gets stuck at this step. The webUI starts and I can login to it but it freezes after a few seconds.