title: getting npm error while installing nagios redis
body: <p>im trying to configure redis on ubuntu to monitoring on nagios from this site <a href="https://github.com/mdahiemstra/nagios-check-redis" rel="nofollow noreferrer">https://github.com/mdahiemstra/nagios-check-redis</a></p>
  <p>but when i run $sudo npm install -g nagios-redis im getting this error</p>
  <p>npm ERR! ../../nan/nan_implementation_12_inl.h:169:54: error: ‘FTH’ is not a member of ‘NanIntern::Factory&lt;v8::Signature&gt;’
  npm ERR!   169 | Factory&lt;v8::Signature&gt;::New( Factory&lt;v8::Signature&gt;::FTH receiver
  npm ERR!       |                                                      ^~~
  npm ERR! ../../nan/nan_implementation_12_inl.h:170:30: error: expected primary-expression before ‘int’
  npm ERR!   170 |                            , int argc
  npm ERR!       |                              ^~~
  npm ERR! ../../nan/nan_implementation_12_inl.h:171:54: error: ‘FTH’ is not a member of ‘NanIntern::Factory&lt;v8::Signature&gt;’
  npm ERR!   171 |                            , Factory&lt;v8::Signature&gt;::FTH argv[]) {
  npm ERR!       |                                                      ^~~
  npm ERR! ../../nan/nan_implementation_12_inl.h:171:66: error: expected ‘,’ or ‘;’ before ‘{’ token
  npm ERR!   171 |                            , Factory&lt;v8::Signature&gt;::FTH argv[]) {
  npm ERR!       |                                                                  ^
  npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase&lt;v8::String&gt;::return_t NanIntern::Factory&lt;v8::String&gt;::New(const char*, int)’:
  npm ERR! ../../nan/nan_implementation_12_inl.h:184:33: warning: ‘static v8::Local&lt;v8::String&gt; v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  npm ERR!   184 |   return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), value,</p>
  <p>npm ERR!   534 |     , v8::Handle&lt;v8::ObjectTemplate&gt; tmpl = v8::Handle&lt;v8::ObjectTemplate&gt;()
  npm ERR!       |       ^~~~~~~~~~</p>
  <p>npm ERR! gyp ERR! System Linux 5.15.0-1008-aws
  npm ERR! gyp ERR! command &quot;/usr/bin/node&quot; &quot;/usr/share/nodejs/node-gyp/bin/node-gyp.js&quot; &quot;rebuild&quot;
  npm ERR! gyp ERR! cwd /usr/local/lib/node_modules/nagios-redis/node_modules/hiredis
  npm ERR! gyp ERR! node -v v12.22.9
  npm ERR! gyp ERR! node-gyp -v v8.4.1
  npm ERR! gyp ERR! not ok</p>
  <p>i have installed nodejs and npm in ubuntu</p>