# Command to install

**URL:** <https://discourse.nodered.org/t/command-to-install/64577>\
**Category:** General\
**Created:** [1 July 2022 07:48 UTC](https://discourse.nodered.org/t/command-to-install/64577 "2022-07-01T07:48:56Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 07:48 UTC](https://discourse.nodered.org/t/command-to-install/64577/1 "2022-07-01T07:48:56Z")

</div>

command to install the grovepi nodes for npm version 8.11.0

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 07:53 UTC](https://discourse.nodered.org/t/command-to-install/64577/2 "2022-07-01T07:53:19Z")

</div>

when installing the nodes, an error occurs

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/2/0266a45748c624992e8aa2c10ba13713f067794c.jpeg)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 July 2022 08:13 UTC](https://discourse.nodered.org/t/command-to-install/64577/3 "2022-07-01T08:13:12Z")

</div>

Please copy/paste the full install log. Not screen shot please.

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [1 July 2022 08:54 UTC](https://discourse.nodered.org/t/command-to-install/64577/4 "2022-07-01T08:54:44Z")

</div>

To begin...seems you are in your home dir, not in .node-red

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 14:27 UTC](https://discourse.nodered.org/t/command-to-install/64577/6 "2022-07-01T14:27:50Z")

</div>

Hello  
npm ERR! code 1  
npm ERR! path /home/pi/node\_modules/buffertools  
npm ERR! command failed  
npm ERR! command sh -c node-gyp rebuild  
npm ERR! make: Entering directory '/home/pi/node\_modules/buffertools/build'  
npm ERR! CXX(target) Release/obj.target/buffertools/buffertools.o  
npm ERR! make: Leaving directory '/home/pi/node\_modules/buffertools/build'  
npm ERR! gyp info it worked if it ends with ok  
npm ERR! gyp info using node-gyp@9.0.0  
npm ERR! gyp info using node@16.15.1 | linux | arm  
npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"  
npm ERR! gyp info spawn /usr/bin/python3  
npm ERR! gyp info spawn args [  
npm ERR! gyp info spawn args '/usr/lib/node\_modules/npm/node\_modules/node-gyp/gyp/gyp\_main.py',  
npm ERR! gyp info spawn args 'binding.gyp',  
npm ERR! gyp info spawn args '-f',  
npm ERR! gyp info spawn args 'make',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/home/pi/node\_modules/buffertools/build/config.gypi',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/usr/lib/node\_modules/npm/node\_modules/node-gyp/addon.gypi',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/home/pi/.cache/node-gyp/16.15.1/include/node/common.gypi',  
npm ERR! gyp info spawn args '-Dlibrary=shared\_library',  
npm ERR! gyp info spawn args '-Dvisibility=default',  
npm ERR! gyp info spawn args '-Dnode\_root\_dir=/home/pi/.cache/node-gyp/16.15.1',  
npm ERR! gyp info spawn args '-Dnode\_gyp\_dir=/usr/lib/node\_modules/npm/node\_modules/node-gyp',  
npm ERR! gyp info spawn args '-Dnode\_lib\_file=/home/pi/.cache/node-gyp/16.15.1/\<(target\_arch)/node.lib',  
npm ERR! gyp info spawn args '-Dmodule\_root\_dir=/home/pi/node\_modules/buffertools',  
npm ERR! gyp info spawn args '-Dnode\_engine=v8',  
npm ERR! gyp info spawn args '--depth=.',  
npm ERR! gyp info spawn args '--no-parallel',  
npm ERR! gyp info spawn args '--generator-output',  
npm ERR! gyp info spawn args 'build',  
npm ERR! gyp info spawn args '-Goutput\_dir=.'  
npm ERR! gyp info spawn args ]  
npm ERR! gyp info spawn make  
npm ERR! gyp info spawn args ['BUILDTYPE=Release', '-C', 'build']  
npm ERR! ../buffertools.cc:32:11: error: ‘v8::Handle’ has not been declared  
npm ERR! using v8::Handle;  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::UnaryAction::operator()(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:141:34: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! target = args[0]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:143:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:169:34: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! target = args[0]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:171:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:187:56: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local other = args[args\_start]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:196:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::FillAction::apply(v8::Localv8::Object, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:256:44: error: no matching function for call to ‘v8::Value::Int32Value()’  
npm ERR! int c = args[args\_start]-\>Int32Value();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local context) const;  
npm ERR! ^ ~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:261:43: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:266:56: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local other = args[args\_start]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:272:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::IndexOfAction::apply(v8::Localv8::Object, const uint8\_t\*, size\_t, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:329:54: error: no matching function for call to ‘v8::Value::Int32Value()’  
npm ERR! int32\_t start = args[args\_start + 1]-\>Int32Value();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local context) const;  
npm ERR! ^ ~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc: In function ‘v8::Localv8::Value {anonymous}::decodeHex(const uint8\_t\*, size\_t, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:363:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::Error,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:381:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::Error, "This is not hexadecimal data.");  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::ToHexAction::apply(v8::Localv8::Object, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:67:41: error: ‘kNormalString’ is not a member of ‘v8::String’  
npm ERR! v8::String::kNormalString,   
npm ERR! ^ ~~~~~~~~~~~~  
npm ERR! ../buffertools.cc:419:12: note: in expansion of macro ‘UNI\_STRING\_NEW’  
npm ERR! return UNI\_STRING\_NEW(s.c\_str(), s.size());  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! ../buffertools.cc: In function ‘void {anonymous}::Concat(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:449:29: error: no matching function for call to ‘v8::Value::ToString()’  
npm ERR! size += arg-\>ToString()-\>Utf8Length();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToString(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:452:50: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! size += node::Buffer::Length(arg-\>ToObject());  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:72:67: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));   
npm ERR! ^  
npm ERR! ../buffertools.cc:460:7: note: in expansion of macro ‘UNI\_THROW\_AND\_RETURN’  
npm ERR! UNI\_THROW\_AND\_RETURN(Exception::TypeError, errmsg);  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:470:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’  
npm ERR! String::Utf8Value v(arg);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:475:39: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local b = arg-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:72:67: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));   
npm ERR! ^  
npm ERR! ../buffertools.cc:482:7: note: in expansion of macro ‘UNI\_THROW\_AND\_RETURN’  
npm ERR! UNI\_THROW\_AND\_RETURN(Exception::Error,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: At global scope:  
npm ERR! ../buffertools.cc:492:21: error: variable or field ‘RegisterModule’ declared void  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:492:21: error: ‘Handle’ was not declared in this scope  
npm ERR! ../buffertools.cc:492:21: note: suggested alternative: ‘rand\_r’  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! rand\_r  
npm ERR! ../buffertools.cc:492:34: error: expected primary-expression before ‘\>’ token  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^  
npm ERR! ../buffertools.cc:492:36: error: ‘target’ was not declared in this scope  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:492:36: note: suggested alternative: ‘tzset’  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! tzset  
npm ERR! In file included from ../buffertools.cc:17:  
npm ERR! ../buffertools.cc:506:26: error: ‘RegisterModule’ was not declared in this scope  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:847:36: note: in definition of macro ‘NODE\_MODULE\_X’  
npm ERR! (node::addon\_register\_func) (regfunc),   
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:506:1: note: in expansion of macro ‘NODE\_MODULE’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~  
npm ERR! ../buffertools.cc:506:26: note: suggested alternative: ‘register\_t’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:847:36: note: in definition of macro ‘NODE\_MODULE\_X’  
npm ERR! (node::addon\_register\_func) (regfunc),   
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:506:1: note: in expansion of macro ‘NODE\_MODULE’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::CompareAction]’:  
npm ERR! ../buffertools.cc:432:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::EqualsAction]’:  
npm ERR! ../buffertools.cc:433:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::IndexOfAction]’:  
npm ERR! ../buffertools.cc:436:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:441:23: warning: ‘void {anonymous}::Concat(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! UNI\_FUNCTION\_CALLBACK(Concat) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:438:3: warning: ‘void {anonymous}::ToHex(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(ToHex)  
npm ERR! ^ ~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:438:1: note: in expansion of macro ‘V’  
npm ERR! V(ToHex)  
npm ERR! ^  
npm ERR! ../buffertools.cc:437:3: warning: ‘void {anonymous}::Reverse(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Reverse)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:437:1: note: in expansion of macro ‘V’  
npm ERR! V(Reverse)  
npm ERR! ^  
npm ERR! ../buffertools.cc:436:3: warning: ‘void {anonymous}::IndexOf(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(IndexOf)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:436:1: note: in expansion of macro ‘V’  
npm ERR! V(IndexOf)  
npm ERR! ^  
npm ERR! ../buffertools.cc:435:3: warning: ‘void {anonymous}::FromHex(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(FromHex)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:435:1: note: in expansion of macro ‘V’  
npm ERR! V(FromHex)  
npm ERR! ^  
npm ERR! ../buffertools.cc:434:3: warning: ‘void {anonymous}::Fill(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Fill)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:434:1: note: in expansion of macro ‘V’  
npm ERR! V(Fill)  
npm ERR! ^  
npm ERR! ../buffertools.cc:433:3: warning: ‘void {anonymous}::Equals(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Equals)  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:433:1: note: in expansion of macro ‘V’  
npm ERR! V(Equals)  
npm ERR! ^  
npm ERR! ../buffertools.cc:432:3: warning: ‘void {anonymous}::Compare(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Compare)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:432:1: note: in expansion of macro ‘V’  
npm ERR! V(Compare)  
npm ERR! ^  
npm ERR! ../buffertools.cc:431:3: warning: ‘void {anonymous}::Clear(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Clear)  
npm ERR! ^ ~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:431:1: note: in expansion of macro ‘V’  
npm ERR! V(Clear)  
npm ERR! ^  
npm ERR! make: \*\*\* [buffertools.target.mk:109: Release/obj.target/buffertools/buffertools.o] Error 1  
npm ERR! gyp ERR! build error  
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2  
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:194:23)  
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)  
npm ERR! gyp ERR! stack at Process.ChildProcess.\_handle.onexit (node:internal/child\_process:291:12)  
npm ERR! gyp ERR! System Linux 5.10.103-v7+  
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
npm ERR! gyp ERR! cwd /home/pi/node\_modules/buffertools  
npm ERR! gyp ERR! node -v v16.15.1  
npm ERR! gyp ERR! node-gyp -v v9.0.0  
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:  
npm ERR! /home/pi/.npm/\_logs/2022-07-01T14\_24\_18\_745Z-debug-0.log

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 14:29 UTC](https://discourse.nodered.org/t/command-to-install/64577/7 "2022-07-01T14:29:09Z")

</div>

is it correct that I am on the desktop

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 July 2022 14:51 UTC](https://discourse.nodered.org/t/command-to-install/64577/8 "2022-07-01T14:51:30Z")

</div>

Are you trying to install the node-red grovepi node i.e. [node-red-contrib-grovepi](https://flows.nodered.org/node/node-red-contrib-grovepi)?

If so, and if you want to install it manually, you want to be in the .node-red sub directory. Try this:

```auto
cd $HOME/.node-red
npm install node-red-contrib-grovepi

```

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 14:54 UTC](https://discourse.nodered.org/t/command-to-install/64577/9 "2022-07-01T14:54:55Z")

</div>

Good friend I will try

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 14:57 UTC](https://discourse.nodered.org/t/command-to-install/64577/10 "2022-07-01T14:57:21Z")

</div>

pi@raspberrypi:~ $ cd $HOME/.node-red  
pi@raspberrypi:~/.node-red $ npm install node-red-contrib-grovepi  
npm ERR! code 1  
npm ERR! path /home/pi/.node-red/node\_modules/buffertools  
npm ERR! command failed  
npm ERR! command sh -c node-gyp rebuild  
npm ERR! make: Entering directory '/home/pi/.node-red/node\_modules/buffertools/build'  
npm ERR! CXX(target) Release/obj.target/buffertools/buffertools.o  
npm ERR! make: Leaving directory '/home/pi/.node-red/node\_modules/buffertools/build'  
npm ERR! gyp info it worked if it ends with ok  
npm ERR! gyp info using node-gyp@9.0.0  
npm ERR! gyp info using node@16.15.1 | linux | arm  
npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"  
npm ERR! gyp info spawn /usr/bin/python3  
npm ERR! gyp info spawn args [  
npm ERR! gyp info spawn args '/usr/lib/node\_modules/npm/node\_modules/node-gyp/gyp/gyp\_main.py',  
npm ERR! gyp info spawn args 'binding.gyp',  
npm ERR! gyp info spawn args '-f',  
npm ERR! gyp info spawn args 'make',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/home/pi/.node-red/node\_modules/buffertools/build/config.gypi',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/usr/lib/node\_modules/npm/node\_modules/node-gyp/addon.gypi',  
npm ERR! gyp info spawn args '-I',  
npm ERR! gyp info spawn args '/home/pi/.cache/node-gyp/16.15.1/include/node/common.gypi',  
npm ERR! gyp info spawn args '-Dlibrary=shared\_library',  
npm ERR! gyp info spawn args '-Dvisibility=default',  
npm ERR! gyp info spawn args '-Dnode\_root\_dir=/home/pi/.cache/node-gyp/16.15.1',  
npm ERR! gyp info spawn args '-Dnode\_gyp\_dir=/usr/lib/node\_modules/npm/node\_modules/node-gyp',  
npm ERR! gyp info spawn args '-Dnode\_lib\_file=/home/pi/.cache/node-gyp/16.15.1/\<(target\_arch)/node.lib',  
npm ERR! gyp info spawn args '-Dmodule\_root\_dir=/home/pi/.node-red/node\_modules/buffertools',  
npm ERR! gyp info spawn args '-Dnode\_engine=v8',  
npm ERR! gyp info spawn args '--depth=.',  
npm ERR! gyp info spawn args '--no-parallel',  
npm ERR! gyp info spawn args '--generator-output',  
npm ERR! gyp info spawn args 'build',  
npm ERR! gyp info spawn args '-Goutput\_dir=.'  
npm ERR! gyp info spawn args ]  
npm ERR! gyp info spawn make  
npm ERR! gyp info spawn args ['BUILDTYPE=Release', '-C', 'build']  
npm ERR! ../buffertools.cc:32:11: error: ‘v8::Handle’ has not been declared  
npm ERR! using v8::Handle;  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::UnaryAction::operator()(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:141:34: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! target = args[0]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:143:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:169:34: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! target = args[0]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:171:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:187:56: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local other = args[args\_start]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:196:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::FillAction::apply(v8::Localv8::Object, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:256:44: error: no matching function for call to ‘v8::Value::Int32Value()’  
npm ERR! int c = args[args\_start]-\>Int32Value();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local context) const;  
npm ERR! ^ ~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:261:43: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:266:56: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local other = args[args\_start]-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:272:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::TypeError,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::IndexOfAction::apply(v8::Localv8::Object, const uint8\_t\*, size\_t, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:329:54: error: no matching function for call to ‘v8::Value::Int32Value()’  
npm ERR! int32\_t start = args[args\_start + 1]-\>Int32Value();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local context) const;  
npm ERR! ^ ~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3107:40: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc: In function ‘v8::Localv8::Value {anonymous}::decodeHex(const uint8\_t\*, size\_t, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:363:5: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::Error,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:77:65: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));  
npm ERR! ^  
npm ERR! ../buffertools.cc:381:7: note: in expansion of macro ‘UNI\_THROW\_EXCEPTION’  
npm ERR! UNI\_THROW\_EXCEPTION(Exception::Error, "This is not hexadecimal data.");  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: In member function ‘v8::Localv8::Value {anonymous}::ToHexAction::apply(v8::Localv8::Object, const v8::FunctionCallbackInfov8::Value&, uint32\_t)’:  
npm ERR! ../buffertools.cc:67:41: error: ‘kNormalString’ is not a member of ‘v8::String’  
npm ERR! v8::String::kNormalString,   
npm ERR! ^ ~~~~~~~~~~~~  
npm ERR! ../buffertools.cc:419:12: note: in expansion of macro ‘UNI\_STRING\_NEW’  
npm ERR! return UNI\_STRING\_NEW(s.c\_str(), s.size());  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! ../buffertools.cc: In function ‘void {anonymous}::Concat(const v8::FunctionCallbackInfov8::Value&)’:  
npm ERR! ../buffertools.cc:449:29: error: no matching function for call to ‘v8::Value::ToString()’  
npm ERR! size += arg-\>ToString()-\>Utf8Length();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToString(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:452:50: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! size += node::Buffer::Length(arg-\>ToObject());  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:72:67: error: no matching function for call to ‘v8::Exception::TypeError(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));   
npm ERR! ^  
npm ERR! ../buffertools.cc:460:7: note: in expansion of macro ‘UNI\_THROW\_AND\_RETURN’  
npm ERR! UNI\_THROW\_AND\_RETURN(Exception::TypeError, errmsg);  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::TypeError(v8::Localv8::String)’  
npm ERR! static Local TypeError(Local message);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7525:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc:470:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’  
npm ERR! String::Utf8Value v(arg);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:475:39: error: no matching function for call to ‘v8::Value::ToObject()’  
npm ERR! Local b = arg-\>ToObject();  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’  
npm ERR! V8\_WARN\_UNUSED\_RESULT MaybeLocal ToObject(  
npm ERR! ^ ~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3060:44: note: candidate expects 1 argument, 0 provided  
npm ERR! ../buffertools.cc:72:67: error: no matching function for call to ‘v8::Exception::Error(v8::MaybeLocalv8::String)’  
npm ERR! type(v8::String::NewFromUtf8(args.GetIsolate(), message)));   
npm ERR! ^  
npm ERR! ../buffertools.cc:482:7: note: in expansion of macro ‘UNI\_THROW\_AND\_RETURN’  
npm ERR! UNI\_THROW\_AND\_RETURN(Exception::Error,  
npm ERR! ^ ~~~~~~~~~~~~~~~~~~~  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: candidate: ‘static v8::Localv8::Value v8::Exception::Error(v8::Localv8::String)’  
npm ERR! static Local Error(Local message);  
npm ERR! ^ ~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:7529:23: note: no known conversion for argument 1 from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’  
npm ERR! ../buffertools.cc: At global scope:  
npm ERR! ../buffertools.cc:492:21: error: variable or field ‘RegisterModule’ declared void  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:492:21: error: ‘Handle’ was not declared in this scope  
npm ERR! ../buffertools.cc:492:21: note: suggested alternative: ‘rand\_r’  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! rand\_r  
npm ERR! ../buffertools.cc:492:34: error: expected primary-expression before ‘\>’ token  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^  
npm ERR! ../buffertools.cc:492:36: error: ‘target’ was not declared in this scope  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:492:36: note: suggested alternative: ‘tzset’  
npm ERR! void RegisterModule(Handle target) {  
npm ERR! ^ ~~~~~  
npm ERR! tzset  
npm ERR! In file included from ../buffertools.cc:17:  
npm ERR! ../buffertools.cc:506:26: error: ‘RegisterModule’ was not declared in this scope  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:847:36: note: in definition of macro ‘NODE\_MODULE\_X’  
npm ERR! (node::addon\_register\_func) (regfunc),   
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:506:1: note: in expansion of macro ‘NODE\_MODULE’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~  
npm ERR! ../buffertools.cc:506:26: note: suggested alternative: ‘register\_t’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:847:36: note: in definition of macro ‘NODE\_MODULE\_X’  
npm ERR! (node::addon\_register\_func) (regfunc),   
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:506:1: note: in expansion of macro ‘NODE\_MODULE’  
npm ERR! NODE\_MODULE(buffertools, RegisterModule)  
npm ERR! ^ ~~~~~~~~~~  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::CompareAction]’:  
npm ERR! ../buffertools.cc:432:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::EqualsAction]’:  
npm ERR! ../buffertools.cc:433:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc: In instantiation of ‘v8::Localv8::Value {anonymous}::BinaryAction::operator()(const v8::FunctionCallbackInfov8::Value&) [with Derived = {anonymous}::IndexOfAction]’:  
npm ERR! ../buffertools.cc:436:1: required from here  
npm ERR! ../buffertools.cc:177:25: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’  
npm ERR! String::Utf8Value s(args[args\_start]);  
npm ERR! ^  
npm ERR! In file included from /home/pi/.cache/node-gyp/16.15.1/include/node/node.h:63,  
npm ERR! from ../buffertools.cc:17:  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate\*, v8::Localv8::Value)’  
npm ERR! Utf8Value(Isolate\* isolate, Localv8::Value obj);  
npm ERR! ^ ~~~~~~~~  
npm ERR! /home/pi/.cache/node-gyp/16.15.1/include/node/v8.h:3581:5: note: candidate expects 2 arguments, 1 provided  
npm ERR! ../buffertools.cc:441:23: warning: ‘void {anonymous}::Concat(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! UNI\_FUNCTION\_CALLBACK(Concat) {  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:438:3: warning: ‘void {anonymous}::ToHex(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(ToHex)  
npm ERR! ^ ~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:438:1: note: in expansion of macro ‘V’  
npm ERR! V(ToHex)  
npm ERR! ^  
npm ERR! ../buffertools.cc:437:3: warning: ‘void {anonymous}::Reverse(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Reverse)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:437:1: note: in expansion of macro ‘V’  
npm ERR! V(Reverse)  
npm ERR! ^  
npm ERR! ../buffertools.cc:436:3: warning: ‘void {anonymous}::IndexOf(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(IndexOf)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:436:1: note: in expansion of macro ‘V’  
npm ERR! V(IndexOf)  
npm ERR! ^  
npm ERR! ../buffertools.cc:435:3: warning: ‘void {anonymous}::FromHex(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(FromHex)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:435:1: note: in expansion of macro ‘V’  
npm ERR! V(FromHex)  
npm ERR! ^  
npm ERR! ../buffertools.cc:434:3: warning: ‘void {anonymous}::Fill(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Fill)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:434:1: note: in expansion of macro ‘V’  
npm ERR! V(Fill)  
npm ERR! ^  
npm ERR! ../buffertools.cc:433:3: warning: ‘void {anonymous}::Equals(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Equals)  
npm ERR! ^ ~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:433:1: note: in expansion of macro ‘V’  
npm ERR! V(Equals)  
npm ERR! ^  
npm ERR! ../buffertools.cc:432:3: warning: ‘void {anonymous}::Compare(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Compare)  
npm ERR! ^ ~~~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:432:1: note: in expansion of macro ‘V’  
npm ERR! V(Compare)  
npm ERR! ^  
npm ERR! ../buffertools.cc:431:3: warning: ‘void {anonymous}::Clear(const v8::FunctionCallbackInfov8::Value&)’ defined but not used [-Wunused-function]  
npm ERR! V(Clear)  
npm ERR! ^ ~~~~  
npm ERR! ../buffertools.cc:55:10: note: in definition of macro ‘UNI\_FUNCTION\_CALLBACK’  
npm ERR! void name(const v8::FunctionCallbackInfov8::Value& args)  
npm ERR! ^~~~  
npm ERR! ../buffertools.cc:431:1: note: in expansion of macro ‘V’  
npm ERR! V(Clear)  
npm ERR! ^  
npm ERR! make: \*\*\* [buffertools.target.mk:109: Release/obj.target/buffertools/buffertools.o] Error 1  
npm ERR! gyp ERR! build error  
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2  
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:194:23)  
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)  
npm ERR! gyp ERR! stack at Process.ChildProcess.\_handle.onexit (node:internal/child\_process:291:12)  
npm ERR! gyp ERR! System Linux 5.10.103-v7+  
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
npm ERR! gyp ERR! cwd /home/pi/.node-red/node\_modules/buffertools  
npm ERR! gyp ERR! node -v v16.15.1  
npm ERR! gyp ERR! node-gyp -v v9.0.0  
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:  
npm ERR! /home/pi/.npm/\_logs/2022-07-01T14\_55\_29\_135Z-debug-0.log

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 July 2022 16:44 UTC](https://discourse.nodered.org/t/command-to-install/64577/11 "2022-07-01T16:44:50Z")

</div>

What version of node-red and node.js are you running? You can find this in the node-red startup log.

Also what version of raspberryPi is are you running?

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 16:58 UTC](https://discourse.nodered.org/t/command-to-install/64577/12 "2022-07-01T16:58:47Z")

</div>

the node-red version and raspberry are as follows  
node-red v16.15.1  
Raspberry Pi Os (legacy)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 July 2022 17:09 UTC](https://discourse.nodered.org/t/command-to-install/64577/13 "2022-07-01T17:09:14Z")

</div>

Ther latest version of node-red is 3.0.0 beta 4  
What you have reported is probably the version of node.js.

Please copy the node-red startup log and paste it in a reply from when it starts to when it says it is ready.

Then run

```auto
cat /etc/os-release 

```

And paste the results in the reply

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [1 July 2022 17:27 UTC](https://discourse.nodered.org/t/command-to-install/64577/15 "2022-07-01T17:27:09Z")

</div>

pi@raspberrypi:~ $ cat /etc/os-release  
PRETTY\_NAME="Raspbian GNU/Linux 10 (buster)"  
NAME="Raspbian GNU/Linux"  
VERSION\_ID="10"  
VERSION="10 (buster)"  
VERSION\_CODENAME=buster  
ID=raspbian  
ID\_LIKE=debian  
HOME\_URL="[http://www.raspbian.org/](http://www.raspbian.org/)"  
SUPPORT\_URL="[RaspbianForums - Raspbian](http://www.raspbian.org/RaspbianForums)"  
BUG\_REPORT\_URL="[RaspbianBugs - Raspbian](http://www.raspbian.org/RaspbianBugs)"

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 July 2022 20:46 UTC](https://discourse.nodered.org/t/command-to-install/64577/16 "2022-07-01T20:46:25Z")

</div>

You have not provided the NR start up log. Run

```auto
node-red

```

and copy and paste this part of the log

```auto
30 Jun 11:59:43 - [info] 

Welcome to Node-RED
===================

30 Jun 11:59:43 - [info] Node-RED version: v3.0.0-beta.3
30 Jun 11:59:43 - [info] Node.js version: v14.16.0
30 Jun 11:59:43 - [info] Darwin 21.4.0 x64 LE
30 Jun 11:59:44 - [info] Loading palette nodes
30 Jun 11:59:45 - [info] Worldmap version 2.28.3
30 Jun 11:59:45 - [info] Dashboard version 3.1.7 started at /ui
30 Jun 11:59:45 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
30 Jun 11:59:45 - [info] Settings file : /Users/Paul/.node-red/settings.js
30 Jun 11:59:45 - [info] HTTP Static : /Users/Paul/node-red-static > /
30 Jun 11:59:45 - [info] Context store : 'default' [module=localfilesystem]
30 Jun 11:59:45 - [info] Context store : 'memory' [module=memory]
30 Jun 11:59:45 - [info] User directory : /Users/Paul/.node-red
30 Jun 11:59:45 - [info] Projects directory: /Users/Paul/.node-red/projects
30 Jun 11:59:45 - [info] Server now running at http://127.0.0.1:1880/
30 Jun 11:59:46 - [info] Active project : NASA-WildFires
30 Jun 11:59:46 - [info] Flows file : /Users/Paul/.node-red/projects/NASA-WildFires/flow.json
30 Jun 11:59:46 - [warn] Using unencrypted credentials
30 Jun 11:59:46 - [info] Starting flows
30 Jun 11:59:46 - [info] Started flows

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 July 2022 00:28 UTC](https://discourse.nodered.org/t/command-to-install/64577/17 "2022-07-02T00:28:40Z")

</div>

I would suggest you open an issue on the node’s [GitHub page](https://github.com/O-Hahn/node-red-contrib-grovepi/issues) but you should note that the node has not been updated in over 4 years

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 August 2022 00:28 UTC](https://discourse.nodered.org/t/command-to-install/64577/18 "2022-08-31T00:28:59Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
