Hello All
First, I am a capable computer user, I have been working with freenas for almost a year, but at a very "follow the instructions" level. Meaning i really copy and paste a lot. So forgive me when I ask questions that you may feel people in this forum should know the answer to or that it is "simple" that I shouldn't be asking. Honestly my OS of choice is windows.
Now that I have gotten that out of the way I wanted to ask if someone can give me the commands necessary to fix this:
root@mineos_jail:/usr/local/games/minecraft # echo "CXX=c++ npm install" | sh
npm WARN npm npm does not support Node.js v9.1.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at
https://nodejs.org/
WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.r/local/games/minecraf
Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) th
at is compatible with Node.js 9 and above.
/usr/local/bin/node[22114]: ../src/node_zlib.cc:437:static void node::(anonymous namespace)::ZCtx::Init(const FunctionCallbackInfo<v
8::Value> &): Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionar
y)"' failed.
1: node::Abort(void) [/usr/local/bin/node]
2: node::Assert(char const* const[4]*) [/usr/local/bin/node]
3: _ZNSt3__16vectorIPN4node14SigintWatchdogENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_ [/usr/local/bin/node]
4: v8::internal::FunctionCallbackArguments::Call(void(*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/usr/local/bin/node]
5: v8::internal::Isolate*<v8::internal::Object> v8::internal::Builtins::InvokeApiFunction(v8::internal::Isolate*, bool, v8::interna
l::Handle<v8::internal::HeapObject>(int, v8::internal::Object*, v8::internal::HeapObject) [/usr/local/bin/node]
6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
Abort trap
root@mineos_jail:/usr/local/games/minecraft # service mineos stop
mineos does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
I understand that it is telling me that the version of NodeJS is too new for the version of NPM but I have no idea how to specify what version of NodeJS I want to install or how to roll it back a version. I have been trying for about a week to get my mineOS plugin working again and make it so the boys and I can have our MineCraft servers back. Once I get this fixed I will also need to restore our server from the files that I copied from the share.
Please help, my boys and I miss our server. :(