Node install errors

I have transfered a project to my home machine from work so I can work on it.

It shower a list of nodes that needed installing. 2 will not install, but these are not used in any flow.

when trying to install I get errors that I do not understand.

These are the nodes

image

Here are the errors in the terminal window from the point of installation. Sorry they are very long.so had to delete end to get it to post

13 Jun 16:49:18 - [info] Waiting for missing types to be registered:
13 Jun 16:49:18 - [info] - HIDConfig
13 Jun 16:49:18 - [info] - sqldb
13 Jun 16:49:35 - [info] Installing module: node-red-contrib-usbhid, version: 0.0.1
13 Jun 16:50:06 - [warn] Installation of module node-red-contrib-usbhid failed:
13 Jun 16:50:06 - [warn] ------------------------------------------
13 Jun 16:50:06 - [warn] npm WARN npm npm does not support Node.js v10.15.2
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, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
In file included from ../../nan/nan.h:190,
from ../fs-ext.cc:27:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’:
../../nan/nan.h:817:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:177:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:817:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:177:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’:
../../nan/nan.h:831:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:170:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:831:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:170:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char*, int, v8::Localv8::Value)’:
../../nan/nan.h:845:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, const char*, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:163:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:845:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, const char*, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:163:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate*, v8::Localv8::Object, int, v8::Localv8::Value) const’:
../../nan/nan.h:1463:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:177:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:1463:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../fs-ext.cc:20:
/usr/include/nodejs/src/node.h:177:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
/usr/include/nodejs/src/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../fs-ext.cc: In function ‘void EIO_After(uv_work_t*)’:
../fs-ext.cc:108:20: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
argv[0] = Nan::NanErrnoException(store_data->error);
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:108:55: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
argv[0] = Nan::NanErrnoException(store_data->error);
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:108:55: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
argv[0] = Nan::NanErrnoException(store_data->error);
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flock(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:281:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
flock_data->fd = info[0]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:282:42: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
flock_data->oper = info[1]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:288:72: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Flock, (uv_after_work_cb)EIO_After);
^~~~~~~~~
../fs-ext.cc:297:45: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (i != 0) return Nan::ThrowError(Nan::NanErrnoException(errno));
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:297:68: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (i != 0) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:297:68: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (i != 0) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Seek(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:332:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:317:74: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if (!(a)->IsUndefined() && !(a)->IsNull() && !IsInt64((a)->NumberValue())) {
^
../fs-ext.cc:333:3: note: in expansion of macro ‘ASSERT_OFFSET’
ASSERT_OFFSET(info[1]);
^~~~~~~~~~~~~
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2475:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:320:60: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_OFFSET(a) ((a)->IsNumber() ? (a)->IntegerValue() : -1)
^
../fs-ext.cc:334:16: note: in expansion of macro ‘GET_OFFSET’
off_t offs = GET_OFFSET(info[1]);
^~~~~~~~~~
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:335:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int whence = info[2]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:339:56: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (offs_result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:339:79: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (offs_result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:339:79: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (offs_result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:354:69: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Seek, (uv_after_work_cb)EIO_After);
^~~~~~~~~
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Fcntl(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:369:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:370:33: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int cmd = info[1]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:371:33: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int arg = info[2]->Int32Value();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:375:51: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:375:74: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:375:74: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (result == -1) return Nan::ThrowError(Nan::NanErrnoException(errno));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:390:70: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Fcntl, (uv_after_work_cb)EIO_After);
^~~~~~~~~
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE UTime(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:423:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value path(info[0]->ToString());
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2892:28: note: declared here
explicit Utf8Value(Localv8::Value obj));
^~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:424:40: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
time_t atime = info[1]->IntegerValue();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:425:40: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
time_t mtime = info[2]->IntegerValue();
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:433:47: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "utime", "", *path));
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:433:90: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "utime", "", *path));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:433:90: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "utime", "", *path));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:448:70: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_UTime, (uv_after_work_cb)EIO_After);
^~~~~~~~~
../fs-ext.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE StatVFS(Nan::NAN_METHOD_ARGS_TYPE)’:
../fs-ext.cc:462:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value path(info[0]->ToString());
^
In file included from /usr/include/nodejs/deps/v8/include/v8.h:26,
from /usr/include/nodejs/src/node.h:63,
from ../fs-ext.cc:20:
/usr/include/nodejs/deps/v8/include/v8.h:2892:28: note: declared here
explicit Utf8Value(Localv8::Value obj));
^~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../fs-ext.cc:469:47: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "statvfs", "", *path));
^~~~~~~~~~~~~~~~~
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~
../fs-ext.cc:469:92: warning: ‘v8::Localv8::Value Nan::NanErrnoException(int, const char*, const char*, const char*)’ is deprecated [-Wdeprecated-declarations]
if (ret != 0) return Nan::ThrowError(Nan::NanErrnoException(errno, "statvfs", "", *path));
^
In file included from ../fs-ext.cc:27:
../../nan/nan.h:862:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value NanErrnoException(
^~~~~~~~~~~~~~~~~

That error message is odd - what version of npm have you got? It may need upgrade, which may also resolve the install issues. Run npm -v to find out.

5.8.0

Not sure if this is right, or how to upgrade if wrong

That is a little old I think. And I don't think that it matches the version that should have come with Node.JS v10.15.x, I have 10.15.3 installed and it has npm v6.4.1

I would update your version of Node.JS to the latest LTS version and it should update npm accordingly.

Also, make sure that you don't have an odd version of npm installed separately.

$ which npm
/usr/bin/npm

It is also possible to update npm separately but I would strongly recommend updating Node.js first.