# Node install errors

**URL:** https://discourse.nodered.org/t/node-install-errors/12190
**Category:** General
**Created:** [13 June 2019 16:15 UTC](https://discourse.nodered.org/t/node-install-errors/12190 "2019-06-13T16:15:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lozzer65](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lozzer65](https://discourse.nodered.org/u/lozzer65)
#### Post date: [13 June 2019 16:15 UTC](https://discourse.nodered.org/t/node-install-errors/12190/1 "2019-06-13T16:15:11Z")

</div>

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](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/09e086b2bbb78bedff4a6674ff678da267fa1d8b.png)

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/](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(  
^ ~~~~~~~~~~~~~~~~

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [13 June 2019 16:44 UTC](https://discourse.nodered.org/t/node-install-errors/12190/2 "2019-06-13T16:44:02Z")

</div>

> [@lozzer65](#):
>
> pm npm does not support Node.js v10.15

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.

---

<div class="post-metadata">

### Author: ![lozzer65](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lozzer65](https://discourse.nodered.org/u/lozzer65)
#### Post date: [13 June 2019 16:48 UTC](https://discourse.nodered.org/t/node-install-errors/12190/3 "2019-06-13T16:48:39Z")

</div>

5.8.0

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

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [14 June 2019 22:38 UTC](https://discourse.nodered.org/t/node-install-errors/12190/4 "2019-06-14T22:38:13Z")

</div>

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.

```auto
$ which npm
/usr/bin/npm

```

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

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/77d67208083f3fd264590871158af40d55b24221.png)
