[FreeNAS] Errors when using "service mineos oneupdate" on mineOS Plugin

I am running MineOS as a FreeNAS plugin on FreeNAS 11. However, when I try and update the MineOS service in the console, a lot of errors are output and my MineOS server does not work at all. The MineOS plugin will turn off and not turn back on. I was able to run this update without issue previously, but why am I having issues now?

The output from when i run “service mineos oneupdate” is below for reference:

root@mineos_1:/ # service mineos oneupdate
remote: Counting objects: 944, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 944 (delta 403), reused 402 (delta 402), pack-reused 540
Receiving objects: 100% (944/944), 417.54 KiB | 0 bytes/s, done.
Resolving deltas: 100% (659/659), completed with 25 local objects.
From git://github.com/hexparrot/mineos-node
_ 4ae12c7…23f10ac master -> origin/master_
_ * [new branch] allthemods -> origin/allthemods_
_ * [new branch] letsencrypt -> origin/letsencrypt_
_ * [new tag] v1.0.1 -> v1.0.1_
_ * [new tag] v1.1.0 -> v1.1.0_
_ * [new tag] v1.1.1 -> v1.1.1_
_ * [new tag] v1.1.2 -> v1.1.2_
_ * [new tag] v1.1.3 -> v1.1.3_
_ * [new tag] v1.1.4 -> v1.1.4_
_ * [new tag] v1.1.5 -> v1.1.5_
_ * [new tag] v1.1.6 -> v1.1.6_
_ * [new tag] v1.1.7 -> v1.1.7_
_ * [new tag] v1.1.8 -> v1.1.8_
Updating 4ae12c7…23f10ac
Fast-forward
_ Dockerfile | 50 ++_
_ README.md | 16 ±_
_ auth.js | 74 ±_
_ entrypoint.sh | 43 ++_
_ html/css/custom.css | 42 ±_
_ html/index.html | 383 ++++±----_
_ html/js/scriptin.js | 263 +++++±_
_ html/locales/locale-de_DE.json | 14 ±_
_ html/locales/locale-en_US.json | 18 ±_
_ html/locales/locale-fr_FR.json | 168 +±–_
_ html/locales/locale-it_IT.json | 189 +++++_
_ html/locales/locale-ja_JP.json | 189 +++++_
_ html/locales/locale-no_NB.json | 189 +++++_
_ html/locales/locale-ru_RU.json | 186 +++++_
_ html/locales/locale-sv_SE.json | 14 ±_
_ html/login.html | 3 ±_
_ init/supervisor_conf | 3 ±_
_ init/systemd_conf | 4 ±_
_ mineos.conf | 3 +_
_ mineos.js | 409 +++++++++±_
_ package-lock.json | 2873 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_
_ package.json | 99 ±-_
_ profiles.js | 665 ++++++++++++++++++_
_ reset_webui.sh | 43 ++_
_ server.js | 1276 +++++++++++±---------------------_
_ test/test-auth.js | 29 ±_
_ test/test-mineos.js | 554 +++++++++++++±_
_ update_webui.sh | 39 ++_
_ webui.js | 135 +±-_
_ 29 files changed, 6671 insertions(+), 1302 deletions(-)_
_ create mode 100644 Dockerfile_
_ create mode 100755 entrypoint.sh_
_ create mode 100644 html/locales/locale-it_IT.json_
_ create mode 100644 html/locales/locale-ja_JP.json_
_ create mode 100644 html/locales/locale-no_NB.json_
_ create mode 100644 html/locales/locale-ru_RU.json_
_ create mode 100644 package-lock.json_
_ create mode 100644 profiles.js_
_ create mode 100644 reset_webui.sh_
_ create mode 100644 update_webui.sh_
_ mode change 100644 => 100755 webui.js_
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN engine angular-translate@2.11.1: wanted: {“node”:">=4.4"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine apache-crypt@1.1.2: wanted: {“node”:">=5"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
setimmediate@1.0.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/setimmediate
tail@1.2.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tail
angular-sanitize@1.5.11 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-sanitize
angular-moment@1.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-moment
lazylines@1.0.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/lazylines
npm WARN engine xmlbuilder@9.0.4: wanted: {“node”:">=4.0"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
uuid@3.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/uuid
node-uuid@1.4.8 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/node-uuid
cookie-parser@1.4.3 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/cookie-parser
├── cookie-signature@1.0.6
└── cookie@0.3.1
async@0.1.22 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/du/node_modules/async
strftime@0.9.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/strftime
apache-crypt@1.1.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/apache-crypt
└── unix-crypt-td-js@1.0.0
tmp@0.0.33 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tmp
└── os-tmpdir@1.0.2
q@1.4.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/q
traverse@0.3.9 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/binary/node_modules/chainsaw/node_modules/traverse
async@1.5.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async
request-progress@0.3.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/request-progress
└── throttleit@0.0.2
line-by-line@0.1.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/line-by-line
passport@0.3.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/passport
├── pause@0.0.1
└── passport-strategy@1.0.0
which@1.2.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/which
└── isexe@2.0.0
adm-zip@0.4.7 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/adm-zip
npm WARN engine code@1.5.0: wanted: {“node”:">=0.10.32"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
readable-stream@1.0.34 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/match-stream/node_modules/readable-stream
├── inherits@2.0.3
├── isarray@0.0.1
├── string_decoder@0.10.31
└── core-util-is@1.0.2
passport.socketio@3.6.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/passport.socketio
└── xtend@4.0.1
rsync@0.6.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/rsync
pullstream@0.4.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/pullstream
├── slice-stream@1.0.0
└── over@0.0.5
shelljs@0.3.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/whoami/node_modules/shelljs
readable-stream@1.0.34 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/readable-stream
├── isarray@0.0.1
├── string_decoder@0.10.31
├── inherits@2.0.3
└── core-util-is@1.0.2
xml2js@0.4.19 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/xml2js
├── sax@1.2.4
└── xmlbuilder@9.0.4
npm WARN engine address@1.0.3: wanted: {“node”:">= 0.12.0"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
angular-translate@2.11.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-translate
express-session@1.13.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/express-session
├── cookie-signature@1.0.6
├── utils-merge@1.0.0
├── on-headers@1.0.1
├── parseurl@1.3.2
├── cookie@0.2.3
├── crc@3.4.0
├── uid-safe@2.0.0 (base64-url@1.2.1)
├── depd@1.1.1
└── debug@2.2.0 (ms@0.7.1)
fireworm@0.7.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/fireworm
├── async@0.2.10
_├── lodash.debounce@3.1.1 (lodash.getnative@3.9.1)
├── is-type@0.0.1 (core-util-is@1.0.2)
_├── lodash.flatten@3.0.2 (lodash._isiterateecall@3.0.9, lodash.baseflatten@3.1.4)
└── minimatch@3.0.4 (brace-expansion@1.1.8)
npm WARN engine hawk@3.1.3: wanted: {“node”:">=0.10.32"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine hoek@2.16.3: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
method-override@2.3.10 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/method-override
├── methods@1.1.2
├── parseurl@1.3.2
├── vary@1.1.2
└── debug@2.6.9 (ms@2.0.0)
object-hash@1.1.8 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/object-hash
tarball-extract@0.0.3 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tarball-extract
└── wget@0.0.1 (tunnel@0.0.2)
compression@1.7.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/compression
├── on-headers@1.0.1
├── vary@1.1.2
├── bytes@3.0.0
├── safe-buffer@5.1.1
├── debug@2.6.9 (ms@2.0.0)
├── compressible@2.0.12 (mime-db@1.31.0)
└── accepts@1.3.4 (negotiator@0.6.1, mime-types@2.1.17)
fs-extra@3.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/fs-extra
├── universalify@0.1.1
├── jsonfile@3.0.1
└── graceful-fs@4.1.11
urllib@2.9.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/urllib
├── statuses@1.2.1
├── media-typer@0.3.0
├── any-promise@1.2.0
├── humanize-ms@1.0.2 (ms@0.7.3)
├── debug@2.2.0 (ms@0.7.1)
├── digest-header@0.0.1 (utility@0.1.11)
├── default-user-agent@1.0.0 (os-name@1.0.3)
└── iconv-lite@0.4.19
decompress-zip@0.3.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/decompress-zip
├── graceful-fs@4.1.11
├── mkpath@0.1.0
├── nopt@3.0.6 (abbrev@1.1.1)
├── touch@0.0.3 (nopt@1.0.10)
├── readable-stream@1.1.14 (string_decoder@0.10.31, isarray@0.0.1, core-util-is@1.0.2, inherits@2.0.3)
└── binary@0.3.0 (buffers@0.1.1, chainsaw@0.1.0)
mcquery@0.2.6 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/mcquery
├── buffercursor@0.0.12 (verror@1.10.0)
├── debug@2.6.9 (ms@2.0.0)
└── code@1.5.0 (hoek@2.16.3)

> userid@0.3.1 install /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid
> node-gyp rebuild

fstream@0.1.31 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/fstream
├── inherits@2.0.3
├── graceful-fs@3.0.11 (natives@1.1.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
└── rimraf@2.6.2 (glob@7.1.2)
procfs-stats@1.0.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/procfs-stats
├── once@1.4.0 (wrappy@1.0.2)
├── lru-cache@4.1.1 (pseudomap@1.0.2, yallist@2.1.2)
└── hexip@1.0.1 (tape@2.3.3)
winston@1.0.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/winston
├── cycle@1.0.3
├── stack-trace@0.0.10
├── eyes@0.1.8
├── isstream@0.1.2
├── pkginfo@0.3.1
├── async@1.0.0
└── colors@1.0.3
tar@2.2.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tar
├── inherits@2.0.3
├── block-stream@0.0.9
└── fstream@1.0.11 (graceful-fs@4.1.11, mkdirp@0.5.1, rimraf@2.6.2)
socket.io@1.5.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/socket.io
├── has-binary@0.1.7 (isarray@0.0.1)
├── socket.io-parser@2.3.1 (component-emitter@1.1.2, isarray@0.0.1, json3@3.3.2)
├── debug@2.2.0 (ms@0.7.1)
├── socket.io-adapter@0.4.0 (socket.io-parser@2.2.2)
├── engine.io@1.7.2 (base64id@0.1.0, engine.io-parser@1.3.1, ws@1.1.1, accepts@1.3.3)
└── socket.io-client@1.5.1 (to-array@0.1.4, indexof@0.0.1, component-emitter@1.2.0, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, parseuri@0.0.4, engine.io-client@1.7.2)
express@4.14.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/express
├── escape-html@1.0.3
├── utils-merge@1.0.0
├── array-flatten@1.1.1
├── cookie-signature@1.0.6
├── methods@1.1.2
├── merge-descriptors@1.0.1
├── fresh@0.3.0
├── vary@1.1.2
├── parseurl@1.3.2
├── path-to-regexp@0.1.7
├── content-type@1.0.4
├── encodeurl@1.0.1
├── range-parser@1.2.0
├── etag@1.7.0
├── cookie@0.3.1
├── content-disposition@0.5.2
├── serve-static@1.11.2
├── depd@1.1.1
├── on-finished@2.3.0 (ee-first@1.1.1)
├── finalhandler@0.5.1 (unpipe@1.0.0, statuses@1.3.1)
├── qs@6.2.0
├── debug@2.2.0 (ms@0.7.1)
├── proxy-addr@1.1.5 (forwarded@0.1.2, ipaddr.js@1.4.0)
├── send@0.14.2 (destroy@1.0.4, ms@0.7.2, statuses@1.3.1, mime@1.3.4, http-errors@1.5.1)
├── accepts@1.3.4 (negotiator@0.6.1, mime-types@2.1.17)
└── type-is@1.6.15 (media-typer@0.3.0, mime-types@2.1.17)
body-parser@1.14.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/body-parser
├── bytes@2.2.0
├── content-type@1.0.4
├── depd@1.1.1
├── http-errors@1.3.1 (inherits@2.0.3, statuses@1.4.0)
├── on-finished@2.3.0 (ee-first@1.1.1)
├── raw-body@2.1.7 (unpipe@1.0.0, bytes@2.4.0)
├── qs@5.2.0
├── debug@2.2.0 (ms@0.7.1)
├── iconv-lite@0.4.13
└── type-is@1.6.15 (media-typer@0.3.0, mime-types@2.1.17)
angular@1.4.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular
moment-timezone@0.5.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/moment-timezone
moment@2.15.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/moment
cron@1.1.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/cron
└── moment-timezone@0.5.14
request@2.74.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/request
├── is-typedarray@1.0.0
├── oauth-sign@0.8.2
├── aws-sign2@0.6.0
├── forever-agent@0.6.1
├── tunnel-agent@0.4.3
├── caseless@0.11.0
├── stringstream@0.0.5
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── extend@3.0.1
├── aws4@1.6.0
├── node-uuid@1.4.8
├── combined-stream@1.0.5 (delayed-stream@1.0.0)
├── qs@6.2.3
├── mime-types@2.1.17 (mime-db@1.30.0)
├── tough-cookie@2.3.3 (punycode@1.4.1)
├── bl@1.1.2 (readable-stream@2.0.6)
├── hawk@3.1.3 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
├── http-signature@1.1.1 (assert-plus@0.2.0, jsprim@1.4.1, sshpk@1.13.1)
├── har-validator@2.0.6 (commander@2.11.0, pinkie-promise@2.0.1, chalk@1.1.3, is-my-json-valid@2.16.1)
└── form-data@1.0.1 (async@2.6.0)
gmake: Entering directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build'_ _ CXX(target) Release/obj.target/userid/src/userid.o_ _gmake: g++: Command not found_ _gmake: *** [Release/obj.target/userid/src/userid.o] Error 127_ _gmake: Leaving directory/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build’
gyp ERR! build error
gyp ERR! stack Error: gmake failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
_gyp ERR! stack at Process.ChildProcess.handle.onexit (child_process.js:810:12)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command “node” “/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN engine hoek@2.16.3: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine cryptiles@2.0.5: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine boom@2.10.1: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine request@2.79.0: wanted: {“node”:">= 4"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine esprima@4.0.0: wanted: {“node”:">=4"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine hawk@3.1.3: wanted: {“node”:">=0.10.32"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine form-data@2.1.4: wanted: {“node”:">= 0.12"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine cryptiles@2.0.5: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine hoek@2.16.3: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine boom@2.10.1: wanted: {“node”:">=0.10.40"} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})

> posix@4.0.2 install /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix
> node-gyp rebuild

gmake: Entering directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix/build'_ _ CXX(target) Release/obj.target/posix/src/posix.o_ _gmake: g++: Command not found_ _gmake: *** [Release/obj.target/posix/src/posix.o] Error 127_ _gmake: Leaving directory/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix/build’
gyp ERR! build error
gyp ERR! stack Error: gmake failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
_gyp ERR! stack at Process.ChildProcess.handle.onexit (child_process.js:810:12)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command “node” “/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! userid@0.3.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the userid@0.3.1 install script.
npm ERR! This is most likely a problem with the userid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls userid
npm ERR! There is likely additional logging output above.
npm ERR! System FreeBSD 11.0-STABLE
npm ERR! command “node” “/usr/pbi/mineos-amd64/bin/npm” “–prefix” “/usr/pbi/mineos-amd64/share/mineos/mineos-node” “update” “–python=/usr/pbi/mineos-amd64/bin/python2.7”
npm ERR! cwd /
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.25
npm ERR! code ELIFECYCLE
npm WARN package.json babel-traverse@6.11.4 No description
nodeunit@0.9.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/nodeunit
└── tap@7.1.2 (os-homedir@1.0.1, clean-yaml-object@0.1.0, opener@1.4.3, stack-utils@0.4.0, signal-exit@3.0.2, color-support@1.1.3, isexe@1.1.2, only-shallow@1.2.0, deeper@2.1.0, tmatch@2.0.1, glob@7.1.2, readable-stream@2.3.3, tap-parser@2.2.3, foreground-child@1.5.6, tap-mocha-reporter@2.0.1, bluebird@3.5.1, js-yaml@3.10.0, coveralls@2.13.3, nyc@7.1.0)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /npm-debug.log
npm ERR! not ok code 0

Your node version is 0.10.31, which is an old, old ollllllllllld pre-release version.

It also appears you were using an old, old version of the webui, so it worked out OK.

However, many dependencies of MineOS have been updated to work with the stable NodeJS, but no go with your version:

gmake: Entering directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build'_ _ CXX(target) Release/obj.target/userid/src/userid.o_ _gmake: g++: Command not found_ _gmake: *** [Release/obj.target/userid/src/userid.o] Error 127_ _gmake: Leaving directory/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build’
gyp ERR! build error
gyp ERR! stack Error: gmake failed with exit code: 2

I’d recommend updating your nodejs version, or, as a fallback, going back to a very old version of MineOS: Release Last pre-Node v4 commit · hexparrot/mineos-node · GitHub (last commit before NodeJS went from 0.10 to 4.x

Thanks for your input. I typed “pkg install node” into the console, installed node.js, and then ran “service mineos oneupdate” again. However, the same thing seems to have happened. What am I doing wrong? See below:

Blockquote
root@mineos_1:/ # service mineos oneupdate
remote: Counting objects: 944, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 944 (delta 403), reused 402 (delta 402), pack-reused 540
Receiving objects: 100% (944/944), 417.54 KiB | 0 bytes/s, done.
Resolving deltas: 100% (659/659), completed with 25 local objects.
From git://github.com/hexparrot/mineos-node
4ae12c7…23f10ac master → origin/master

  • [new branch] allthemods → origin/allthemods
  • [new branch] letsencrypt → origin/letsencrypt
  • [new tag] v1.0.1 → v1.0.1
  • [new tag] v1.1.0 → v1.1.0
  • [new tag] v1.1.1 → v1.1.1
  • [new tag] v1.1.2 → v1.1.2
  • [new tag] v1.1.3 → v1.1.3
  • [new tag] v1.1.4 → v1.1.4
  • [new tag] v1.1.5 → v1.1.5
  • [new tag] v1.1.6 → v1.1.6
  • [new tag] v1.1.7 → v1.1.7
  • [new tag] v1.1.8 → v1.1.8
    Updating 4ae12c7…23f10ac
    Fast-forward
    Dockerfile | 50 ++
    README.md | 16 ±
    auth.js | 74 ±
    entrypoint.sh | 43 ++
    html/css/custom.css | 42 ±
    html/index.html | 383 +++++±----
    html/js/scriptin.js | 263 +++++±
    html/locales/locale-de_DE.json | 14 ±
    html/locales/locale-en_US.json | 18 ±
    html/locales/locale-fr_FR.json | 168 +±–
    html/locales/locale-it_IT.json | 189 +++++
    html/locales/locale-ja_JP.json | 189 +++++
    html/locales/locale-no_NB.json | 189 +++++
    html/locales/locale-ru_RU.json | 186 +++++
    html/locales/locale-sv_SE.json | 14 ±
    html/login.html | 3 ±
    init/supervisor_conf | 3 ±
    init/systemd_conf | 4 ±
    mineos.conf | 3 +
    mineos.js | 409 +++++++++±
    package-lock.json | 2873 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    package.json | 99 ±-
    profiles.js | 665 ++++++++++++++++++
    reset_webui.sh | 43 ++
    server.js | 1276 +++++++++++±---------------------
    test/test-auth.js | 29 ±
    test/test-mineos.js | 554 +++++++++++++±
    update_webui.sh | 39 ++
    webui.js | 135 +±-
    29 files changed, 6671 insertions(+), 1302 deletions(-)
    create mode 100644 Dockerfile
    create mode 100755 entrypoint.sh
    create mode 100644 html/locales/locale-it_IT.json
    create mode 100644 html/locales/locale-ja_JP.json
    create mode 100644 html/locales/locale-no_NB.json
    create mode 100644 html/locales/locale-ru_RU.json
    create mode 100644 package-lock.json
    create mode 100644 profiles.js
    create mode 100644 reset_webui.sh
    create mode 100644 update_webui.sh
    mode change 100644 => 100755 webui.js
    npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
    npm WARN engine apache-crypt@1.1.2: wanted: {“node”:“>=5”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    npm WARN engine angular-translate@2.11.1: wanted: {“node”:“>=4.4”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    angular-moment@1.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-moment
    angular-sanitize@1.5.11 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-sanitize
    setimmediate@1.0.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/setimmediate
    tail@1.2.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tail
    node-uuid@1.4.8 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/node-uuid
    cookie-parser@1.4.3 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/cookie-parser
    ├── cookie-signature@1.0.6
    └── cookie@0.3.1
    adm-zip@0.4.7 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/adm-zip
    apache-crypt@1.1.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/apache-crypt
    └── unix-crypt-td-js@1.0.0
    lazylines@1.0.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/lazylines
    async@1.5.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async
    uuid@3.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/uuid
    line-by-line@0.1.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/line-by-line
    strftime@0.9.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/strftime
    async@0.1.22 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/du/node_modules/async
    q@1.4.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/q
    passport@0.3.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/passport
    ├── pause@0.0.1
    └── passport-strategy@1.0.0
    tmp@0.0.33 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tmp
    └── os-tmpdir@1.0.2
    npm WARN engine xmlbuilder@9.0.4: wanted: {“node”:“>=4.0”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    traverse@0.3.9 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/binary/node_modules/chainsaw/node_modules/traverse
    request-progress@0.3.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/request-progress
    └── throttleit@0.0.2
    passport.socketio@3.6.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/passport.socketio
    └── xtend@4.0.1
    which@1.2.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/which
    └── isexe@2.0.0
    npm WARN engine code@1.5.0: wanted: {“node”:“>=0.10.32”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    rsync@0.6.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/rsync
    pullstream@0.4.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/pullstream
    ├── slice-stream@1.0.0
    └── over@0.0.5
    readable-stream@1.0.34 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/match-stream/node_modules/readable-stream
    ├── isarray@0.0.1
    ├── string_decoder@0.10.31
    ├── inherits@2.0.3
    └── core-util-is@1.0.2
    shelljs@0.3.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/whoami/node_modules/shelljs
    angular-translate@2.11.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular-translate
    fireworm@0.7.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/fireworm
    ├── async@0.2.10
    ├── lodash.debounce@3.1.1 (lodash._getnative@3.9.1)
    ├── is-type@0.0.1 (core-util-is@1.0.2)
    ├── lodash.flatten@3.0.2 (lodash._isiterateecall@3.0.9, lodash._baseflatten@3.1.4)
    └── minimatch@3.0.4 (brace-expansion@1.1.8)
    express-session@1.13.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/express-session
    ├── cookie-signature@1.0.6
    ├── utils-merge@1.0.0
    ├── on-headers@1.0.1
    ├── parseurl@1.3.2
    ├── cookie@0.2.3
    ├── crc@3.4.0
    ├── uid-safe@2.0.0 (base64-url@1.2.1)
    ├── depd@1.1.1
    └── debug@2.2.0 (ms@0.7.1)
    method-override@2.3.10 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/method-override
    ├── methods@1.1.2
    ├── parseurl@1.3.2
    ├── vary@1.1.2
    └── debug@2.6.9 (ms@2.0.0)
    npm WARN engine hawk@3.1.3: wanted: {“node”:“>=0.10.32”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    object-hash@1.1.8 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/object-hash
    xml2js@0.4.19 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/xml2js
    ├── sax@1.2.4
    └── xmlbuilder@9.0.4
    readable-stream@1.0.34 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/readable-stream
    ├── inherits@2.0.3
    ├── string_decoder@0.10.31
    ├── isarray@0.0.1
    └── core-util-is@1.0.2
    npm WARN engine hoek@2.16.3: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    npm WARN engine address@1.0.3: wanted: {“node”:“>= 0.12.0”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
    compression@1.7.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/compression
    ├── on-headers@1.0.1
    ├── vary@1.1.2
    ├── bytes@3.0.0
    ├── safe-buffer@5.1.1
    ├── debug@2.6.9 (ms@2.0.0)
    ├── compressible@2.0.12 (mime-db@1.31.0)
    └── accepts@1.3.4 (negotiator@0.6.1, mime-types@2.1.17)
    tarball-extract@0.0.3 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tarball-extract
    └── wget@0.0.1 (tunnel@0.0.2)
    fs-extra@3.0.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/fs-extra
    ├── universalify@0.1.1
    ├── jsonfile@3.0.1
    └── graceful-fs@4.1.11
    decompress-zip@0.3.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/decompress-zip
    ├── graceful-fs@4.1.11
    ├── mkpath@0.1.0
    ├── nopt@3.0.6 (abbrev@1.1.1)
    ├── touch@0.0.3 (nopt@1.0.10)
    ├── readable-stream@1.1.14 (inherits@2.0.3, isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.2)
    └── binary@0.3.0 (buffers@0.1.1, chainsaw@0.1.0)
    body-parser@1.14.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/body-parser
    ├── bytes@2.2.0
    ├── content-type@1.0.4
    ├── depd@1.1.1
    ├── on-finished@2.3.0 (ee-first@1.1.1)
    ├── http-errors@1.3.1 (inherits@2.0.3, statuses@1.4.0)
    ├── raw-body@2.1.7 (unpipe@1.0.0, bytes@2.4.0)
    ├── qs@5.2.0
    ├── debug@2.2.0 (ms@0.7.1)
    ├── iconv-lite@0.4.13
    └── type-is@1.6.15 (media-typer@0.3.0, mime-types@2.1.17)
    urllib@2.9.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/urllib
    ├── statuses@1.2.1
    ├── media-typer@0.3.0
    ├── any-promise@1.2.0
    ├── humanize-ms@1.0.2 (ms@0.7.3)
    ├── digest-header@0.0.1 (utility@0.1.11)
    ├── debug@2.2.0 (ms@0.7.1)
    ├── default-user-agent@1.0.0 (os-name@1.0.3)
    └── iconv-lite@0.4.19
    mcquery@0.2.6 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/mcquery
    ├── debug@2.6.9 (ms@2.0.0)
    ├── buffercursor@0.0.12 (verror@1.10.0)
    └── code@1.5.0 (hoek@2.16.3)
    fstream@0.1.31 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/unzip/node_modules/fstream
    ├── inherits@2.0.3
    ├── graceful-fs@3.0.11 (natives@1.1.0)
    ├── mkdirp@0.5.1 (minimist@0.0.8)
    └── rimraf@2.6.2 (glob@7.1.2)

userid@0.3.1 install /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid
node-gyp rebuild

winston@1.0.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/winston
├── cycle@1.0.3
├── stack-trace@0.0.10
├── eyes@0.1.8
├── isstream@0.1.2
├── pkginfo@0.3.1
├── async@1.0.0
└── colors@1.0.3
procfs-stats@1.0.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/procfs-stats
├── once@1.4.0 (wrappy@1.0.2)
├── lru-cache@4.1.1 (pseudomap@1.0.2, yallist@2.1.2)
└── hexip@1.0.1 (tape@2.3.3)
tar@2.2.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/tar
├── inherits@2.0.3
├── block-stream@0.0.9
└── fstream@1.0.11 (graceful-fs@4.1.11, mkdirp@0.5.1, rimraf@2.6.2)
express@4.14.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/express
├── escape-html@1.0.3
├── utils-merge@1.0.0
├── array-flatten@1.1.1
├── cookie-signature@1.0.6
├── vary@1.1.2
├── parseurl@1.3.2
├── methods@1.1.2
├── path-to-regexp@0.1.7
├── content-type@1.0.4
├── encodeurl@1.0.1
├── merge-descriptors@1.0.1
├── fresh@0.3.0
├── etag@1.7.0
├── range-parser@1.2.0
├── content-disposition@0.5.2
├── cookie@0.3.1
├── serve-static@1.11.2
├── depd@1.1.1
├── on-finished@2.3.0 (ee-first@1.1.1)
├── finalhandler@0.5.1 (unpipe@1.0.0, statuses@1.3.1)
├── qs@6.2.0
├── debug@2.2.0 (ms@0.7.1)
├── proxy-addr@1.1.5 (forwarded@0.1.2, ipaddr.js@1.4.0)
├── send@0.14.2 (destroy@1.0.4, ms@0.7.2, statuses@1.3.1, mime@1.3.4, http-errors@1.5.1)
├── accepts@1.3.4 (negotiator@0.6.1, mime-types@2.1.17)
└── type-is@1.6.15 (media-typer@0.3.0, mime-types@2.1.17)
angular@1.4.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/angular
socket.io@1.5.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/socket.io
├── has-binary@0.1.7 (isarray@0.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── socket.io-parser@2.3.1 (component-emitter@1.1.2, isarray@0.0.1, json3@3.3.2)
├── socket.io-adapter@0.4.0 (socket.io-parser@2.2.2)
├── socket.io-client@1.5.1 (to-array@0.1.4, indexof@0.0.1, component-emitter@1.2.0, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, parseuri@0.0.4, engine.io-client@1.7.2)
└── engine.io@1.7.2 (base64id@0.1.0, engine.io-parser@1.3.1, ws@1.1.1, accepts@1.3.3)
moment-timezone@0.5.14 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/moment-timezone
moment@2.15.2 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/moment
cron@1.1.1 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/cron
└── moment-timezone@0.5.14
request@2.74.0 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/request
├── is-typedarray@1.0.0
├── oauth-sign@0.8.2
├── aws-sign2@0.6.0
├── forever-agent@0.6.1
├── tunnel-agent@0.4.3
├── caseless@0.11.0
├── stringstream@0.0.5
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── extend@3.0.1
├── aws4@1.6.0
├── node-uuid@1.4.8
├── combined-stream@1.0.5 (delayed-stream@1.0.0)
├── qs@6.2.3
├── tough-cookie@2.3.3 (punycode@1.4.1)
├── bl@1.1.2 (readable-stream@2.0.6)
├── mime-types@2.1.17 (mime-db@1.30.0)
├── har-validator@2.0.6 (commander@2.11.0, pinkie-promise@2.0.1, chalk@1.1.3, is-my-json-valid@2.16.1)
├── hawk@3.1.3 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
├── http-signature@1.1.1 (assert-plus@0.2.0, jsprim@1.4.1, sshpk@1.13.1)
└── form-data@1.0.1 (async@2.6.0)
gmake: Entering directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build' CXX(target) Release/obj.target/userid/src/userid.o gmake: g++: Command not found gmake: *** [Release/obj.target/userid/src/userid.o] Error 127 gmake: Leaving directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid/build’
gyp ERR! build error
gyp ERR! stack Error: gmake failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command “node” “/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/userid
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN engine hoek@2.16.3: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine cryptiles@2.0.5: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine boom@2.10.1: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine request@2.79.0: wanted: {“node”:“>= 4”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine esprima@4.0.0: wanted: {“node”:“>=4”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine hawk@3.1.3: wanted: {“node”:“>=0.10.32”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine form-data@2.1.4: wanted: {“node”:“>= 0.12”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine hoek@2.16.3: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine boom@2.10.1: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})
npm WARN engine cryptiles@2.0.5: wanted: {“node”:“>=0.10.40”} (current: {“node”:“0.10.31”,“npm”:“1.4.25”})

posix@4.0.2 install /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix
node-gyp rebuild

gmake: Entering directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix/build' CXX(target) Release/obj.target/posix/src/posix.o gmake: g++: Command not found gmake: *** [Release/obj.target/posix/src/posix.o] Error 127 gmake: Leaving directory /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix/build’
gyp ERR! build error
gyp ERR! stack Error: gmake failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command “node” “/usr/pbi/mineos-amd64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/posix
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! userid@0.3.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the userid@0.3.1 install script.
npm ERR! This is most likely a problem with the userid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls userid
npm ERR! There is likely additional logging output above.
npm ERR! System FreeBSD 11.0-STABLE
npm ERR! command “node” “/usr/pbi/mineos-amd64/bin/npm” “–prefix” “/usr/pbi/mineos-amd64/share/mineos/mineos-node” “update” “–python=/usr/pbi/mineos-amd64/bin/python2.7”
npm ERR! cwd /
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.25
npm ERR! code ELIFECYCLE
npm WARN package.json babel-traverse@6.11.4 No description
nodeunit@0.9.5 usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/nodeunit
└── tap@7.1.2 (os-homedir@1.0.1, clean-yaml-object@0.1.0, opener@1.4.3, stack-utils@0.4.0, signal-exit@3.0.2, color-support@1.1.3, isexe@1.1.2, only-shallow@1.2.0, deeper@2.1.0, tmatch@2.0.1, glob@7.1.2, readable-stream@2.3.3, tap-parser@2.2.3, foreground-child@1.5.6, tap-mocha-reporter@2.0.1, bluebird@3.5.1, js-yaml@3.10.0, coveralls@2.13.3, nyc@7.1.0)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /npm-debug.log
npm ERR! not ok
code 0

It appears that despite you having installed it, it’s still not the version of NodeJS that your $PATH sees first, so it’s still opening the old 0.10.31.

which node

Does it point to your new one or your old one?

Sorry for the late reply.

When I type

which node

The terminal returns this

/usr/local/bin/node

I’m not sure how to tell which node this is. I’m going to assume it is the old one. If it is the old one, how do I change which version of node the program points to?

Thanks again!

/usr/local/bin/node -v should then tell you what version that particular binary is.

Looks like I am running v9.1.0, any tips on what to do next? The server still isn’t working.

Did you install the packages required to give you gmake?

You’re doing this on a FreeNAS instance, but you’ll need to ensure you have a GNU compiler (maybe a non-gnu one would work, but it’s not worth the chance, if avoidable).

It might be pkg install gmake, but check with your distro based on what packaging system you use, or what the package might be called.

Rerun npm install, restart the webui.