Error while updating WebUI

I am having trouble with mineOS not showing my server lists or profiles (it says to check internet connection and refresh profile list). So I am trying to update the webui, but when I follow the steps in
I keep getting errors. Here is a log of the most recent error:

Any help greatly appreciated, thanks!

The log seems to be truncated at the top, and it doesn’t show any of the normal environment settings of your machine. What distro is this? Is it BSD-based?

12054 verbose stack Error: posix@4.1.2 install: node-gyp rebuild

This is most common on BSD installations but could happen anywhere else where gcc isn’t the normal compiler.

It may be necessary for you to force the compiler with a command like this from the /usr/games/minecraft directory:

echo "CXX=c++ npm install posix" | sh

Otherwise, let us know more about your server config and we can go from there.