Failed to install node-red-contrib-speaker 0.1.7

Hi, i wanted to install the node node-red-contrib-speaker 0.1.7
but it failed, please help, below there is the log:


2020-02-13T12:17:00.480Z installieren : node-red-contrib-audiostream-to-speaker 1.0.2

2020-02-13T12:17:00.517Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-audiostream-to-speaker@1.0.2
2020-02-13T12:17:22.630Z [err] npm
2020-02-13T12:17:22.631Z [err] WARN notsup Unsupported engine for node-red-contrib-audiostream-to-speaker@1.0.2: wanted: {"node":"6.x"} (current: {"node":"12.13.0","npm":"6.13.0"})
2020-02-13T12:17:22.631Z [err] npm WARN
2020-02-13T12:17:22.632Z [err] notsup Not compatible with your version of node/npm: node-red-contrib-audiostream-to-speaker@1.0.2
2020-02-13T12:17:22.632Z [err] npm
2020-02-13T12:17:22.633Z [err] WARN ts-jest@24.3.0 requires a peer of jest@>=24 <25 but none is installed. You must install peer dependencies yourself.
2020-02-13T12:17:22.633Z [err] npm
2020-02-13T12:17:22.633Z [err] WARN node-red-project@0.0.1 No repository field.
2020-02-13T12:17:22.633Z [err] npm
2020-02-13T12:17:22.634Z [err] WARN node-red-project@0.0.1 No license field.
2020-02-13T12:17:22.635Z [err]
2020-02-13T12:17:22.639Z [out] + node-red-contrib-audiostream-to-speaker@1.0.2
2020-02-13T12:17:22.639Z [out] added 1 package in 19.305s
2020-02-13T12:17:24.113Z [out]
2020-02-13T12:17:24.113Z [out] 15 packages are looking for funding.
2020-02-13T12:17:24.113Z [out] Run "npm fund" to find out more.
2020-02-13T12:17:24.160Z rc=0


2020-02-13T12:19:05.321Z Entfernen : node-red-contrib-audiostream-to-speaker

2020-02-13T12:19:05.432Z npm remove --no-audit --no-update-notifier --save node-red-contrib-audiostream-to-speaker
2020-02-13T12:19:23.632Z [err] npm
2020-02-13T12:19:23.633Z [err]
2020-02-13T12:19:23.633Z [err] WARN ts-jest@24.3.0 requires a peer of jest@>=24 <25 but none is installed. You must install peer dependencies yourself.
2020-02-13T12:19:23.634Z [err] npm
2020-02-13T12:19:23.634Z [err] WARN
2020-02-13T12:19:23.635Z [err] node-red-project@0.0.1 No repository field.
2020-02-13T12:19:23.635Z [err] npm WARN node-red-project@0.0.1 No license field.
2020-02-13T12:19:23.637Z [err]
2020-02-13T12:19:23.642Z [out] removed 4 packages in 16.059s
2020-02-13T12:19:25.162Z [out]
2020-02-13T12:19:25.162Z [out] 15 packages are looking for funding.
2020-02-13T12:19:25.162Z [out] Run "npm fund" to find out more.
2020-02-13T12:19:25.331Z rc=0


2020-02-13T12:20:13.805Z installieren : node-red-contrib-speaker 0.1.7

2020-02-13T12:20:13.842Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-speaker@0.1.7
2020-02-13T12:20:35.344Z [out]
2020-02-13T12:20:35.344Z [out] > speaker@0.2.6 install /home/pi/.node-red/node_modules/speaker
2020-02-13T12:20:35.344Z [out] > node-gyp rebuild
2020-02-13T12:20:35.344Z [out]
2020-02-13T12:20:37.953Z [out] make: Entering directory '/home/pi/.node-red/node_modules/speaker/build'
2020-02-13T12:20:37.960Z [out] CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
2020-02-13T12:20:38.586Z [err] ../deps/mpg123/src/output/alsa.c: In function ‘rates_match’:
2020-02-13T12:20:38.586Z [err] ../deps/mpg123/src/output/alsa.c:53:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare]
2020-02-13T12:20:38.586Z [err] return actual * 100 > desired * (100 - AUDIO_RATE_TOLERANCE) &&
2020-02-13T12:20:38.586Z [err] ^
2020-02-13T12:20:38.586Z [err] ../deps/mpg123/src/output/alsa.c:54:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare]
2020-02-13T12:20:38.586Z [err] actual * 100 < desired * (100 + AUDIO_RATE_TOLERANCE);
2020-02-13T12:20:38.586Z [err] ^
2020-02-13T12:20:38.600Z [err] ../deps/mpg123/src/output/alsa.c: In function ‘initialize_device’:
2020-02-13T12:20:38.600Z [err] ../deps/mpg123/src/output/alsa.c:78:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
2020-02-13T12:20:38.600Z [err] for (i = 0; i < NUM_FORMATS; ++i) {
2020-02-13T12:20:38.600Z [err] ^
2020-02-13T12:20:38.609Z [err] ../deps/mpg123/src/output/alsa.c: In function ‘get_formats_alsa’:
2020-02-13T12:20:38.609Z [err] ../deps/mpg123/src/output/alsa.c:201:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
2020-02-13T12:20:38.609Z [err] for (i = 0; i < NUM_FORMATS; ++i) {
2020-02-13T12:20:38.609Z [err] ^
2020-02-13T12:20:39.454Z [out] AR(target) Release/obj.target/deps/mpg123/liboutput.a
2020-02-13T12:20:39.491Z [out] COPY Release/liboutput.a
2020-02-13T12:20:39.523Z [out] CXX(target) Release/obj.target/binding/src/binding.o
2020-02-13T12:20:43.379Z [err] In file included from ../src/node_pointer.h:6,
2020-02-13T12:20:43.379Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.379Z [err] ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
2020-02-13T12:20:43.379Z [err] ../../nan/nan.h:2298: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]
2020-02-13T12:20:43.379Z [err] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
2020-02-13T12:20:43.379Z [err] ^
2020-02-13T12:20:43.609Z [err] ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-02-13T12:20:43.609Z [err] ../src/binding.cc:30:38: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-02-13T12:20:43.609Z [err] ao->channels = info[1]->Int32Value(); /* channels /
2020-02-13T12:20:43.609Z [err] ^
2020-02-13T12:20:43.610Z [err] In file included from /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:63,
2020-02-13T12:20:43.610Z [err] from ../../nan/nan.h:54,
2020-02-13T12:20:43.610Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.610Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
2020-02-13T12:20:43.610Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
2020-02-13T12:20:43.610Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2020-02-13T12:20:43.610Z [err] ../src/binding.cc:31:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-02-13T12:20:43.610Z [err] ao->rate = info[2]->Int32Value(); /
sample rate /
2020-02-13T12:20:43.610Z [err] ^
2020-02-13T12:20:43.610Z [err] In file included from /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:63,
2020-02-13T12:20:43.610Z [err] from ../../nan/nan.h:54,
2020-02-13T12:20:43.610Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.610Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
2020-02-13T12:20:43.610Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
2020-02-13T12:20:43.610Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2020-02-13T12:20:43.610Z [err] ../src/binding.cc:32:36: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-02-13T12:20:43.610Z [err] ao->format = info[3]->Int32Value(); /
MPG123_ENC_* format /
2020-02-13T12:20:43.610Z [err] ^
2020-02-13T12:20:43.610Z [err] In file included from /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:63,
2020-02-13T12:20:43.610Z [err] from ../../nan/nan.h:54,
2020-02-13T12:20:43.610Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.610Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
2020-02-13T12:20:43.610Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
2020-02-13T12:20:43.610Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.610Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2020-02-13T12:20:43.617Z [err] ../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-02-13T12:20:43.617Z [err] ../src/binding.cc:51:33: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-02-13T12:20:43.617Z [err] int len = info[2]->Int32Value();
2020-02-13T12:20:43.617Z [err] ^
2020-02-13T12:20:43.618Z [err] In file included from /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:63,
2020-02-13T12:20:43.618Z [err] from ../../nan/nan.h:54,
2020-02-13T12:20:43.618Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.618Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.618Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
2020-02-13T12:20:43.618Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
2020-02-13T12:20:43.618Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.618Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2020-02-13T12:20:43.619Z [err] ../src/binding.cc:62:78: 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]
2020-02-13T12:20:43.619Z [err] uv_queue_work(uv_default_loop(), &req->req, write_async, (uv_after_work_cb)write_after);
2020-02-13T12:20:43.619Z [err] ^~~~~~~~~~~
2020-02-13T12:20:43.622Z [err] ../src/binding.cc: In function ‘void {anonymous}::write_after(uv_work_t*)’:
2020-02-13T12:20:43.622Z [err] ../src/binding.cc:80:31: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
2020-02-13T12:20:43.622Z [err] wreq->callback->Call(1, argv);
2020-02-13T12:20:43.622Z [err] ^
2020-02-13T12:20:43.622Z [err] In file included from ../src/node_pointer.h:6,
2020-02-13T12:20:43.622Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.622Z [err] ../../nan/nan.h:1740:3: note: declared here
2020-02-13T12:20:43.622Z [err] Call(int argc, v8::Localv8::Value argv[]) const {
2020-02-13T12:20:43.622Z [err] ^~~~
2020-02-13T12:20:43.624Z [err] ../src/binding.cc: At global scope:
2020-02-13T12:20:43.624Z [err] ../src/binding.cc:104:17: error: variable or field ‘Initialize’ declared void
2020-02-13T12:20:43.624Z [err] void Initialize(Handle target) {
2020-02-13T12:20:43.624Z [err] ^~~~~~
2020-02-13T12:20:43.624Z [err] ../src/binding.cc:104:17: error: ‘Handle’ was not declared in this scope
2020-02-13T12:20:43.636Z [err] ../src/binding.cc:104:17: note: suggested alternative: ‘daddl’
2020-02-13T12:20:43.636Z [err] void Initialize(Handle target) {
2020-02-13T12:20:43.636Z [err] ^~~~~~
2020-02-13T12:20:43.636Z [err] daddl
2020-02-13T12:20:43.637Z [err] ../src/binding.cc:104:30: error: expected primary-expression before ‘>’ token
2020-02-13T12:20:43.637Z [err] void Initialize(Handle target) {
2020-02-13T12:20:43.637Z [err] ^
2020-02-13T12:20:43.637Z [err] ../src/binding.cc:104:32: error: ‘target’ was not declared in this scope
2020-02-13T12:20:43.637Z [err] void Initialize(Handle target) {
2020-02-13T12:20:43.637Z [err] ^~~~~~
2020-02-13T12:20:43.649Z [err] ../src/binding.cc:104:32: note: suggested alternative: ‘tzset’
2020-02-13T12:20:43.649Z [err] void Initialize(Handle target) {
2020-02-13T12:20:43.649Z [err] ^~~~~~
2020-02-13T12:20:43.649Z [err] tzset
2020-02-13T12:20:43.650Z [err] In file included from ../../nan/nan.h:54,
2020-02-13T12:20:43.650Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.650Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.650Z [err] ../src/binding.cc:155:22: error: ‘Initialize’ was not declared in this scope
2020-02-13T12:20:43.650Z [err] NODE_MODULE(binding, Initialize)
2020-02-13T12:20:43.650Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.650Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
2020-02-13T12:20:43.650Z [err] (node::addon_register_func) (regfunc),
2020-02-13T12:20:43.650Z [err] ^~~~~~~
2020-02-13T12:20:43.650Z [err] ../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
2020-02-13T12:20:43.650Z [err] NODE_MODULE(binding, Initialize)
2020-02-13T12:20:43.650Z [err] ^~~~~~~~~~~
2020-02-13T12:20:43.669Z [err] ../src/binding.cc:155:22: note: suggested alternative: ‘canonicalize’
2020-02-13T12:20:43.669Z [err] NODE_MODULE(binding, Initialize)
2020-02-13T12:20:43.669Z [err] ^~~~~~~~~~
2020-02-13T12:20:43.669Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
2020-02-13T12:20:43.669Z [err] (node::addon_register_func) (regfunc),
2020-02-13T12:20:43.669Z [err] ^~~~~~~
2020-02-13T12:20:43.669Z [err] ../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
2020-02-13T12:20:43.669Z [err] NODE_MODULE(binding, Initialize)
2020-02-13T12:20:43.669Z [err] ^~~~~~~~~~~
2020-02-13T12:20:43.813Z [err] In file included from /home/pi/.cache/node-gyp/12.13.0/include/node/node.h:63,
2020-02-13T12:20:43.813Z [err] from ../../nan/nan.h:54,
2020-02-13T12:20:43.813Z [err] from ../src/node_pointer.h:6,
2020-02-13T12:20:43.813Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:43.813Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P
, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:
2020-02-13T12:20:43.813Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/node_object_wrap.h:84:78: required from here
2020-02-13T12:20:43.813Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void (
)(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
2020-02-13T12:20:43.813Z [err] reinterpret_cast(callback), type);
2020-02-13T12:20:43.813Z [err] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-02-13T12:20:43.874Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
2020-02-13T12:20:43.874Z [err] ../../nan/nan_object_wrap.h:65:61: required from here
2020-02-13T12:20:43.874Z [err] /home/pi/.cache/node-gyp/12.13.0/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void (
)(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
2020-02-13T12:20:44.145Z [err] In file included from ../src/node_pointer.h:6,
2020-02-13T12:20:44.145Z [err] from ../src/binding.cc:5:
2020-02-13T12:20:44.145Z [err] ../src/binding.cc:93:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
2020-02-13T12:20:44.145Z [err] NAN_METHOD(Close) {
2020-02-13T12:20:44.145Z [err] ^~~~~
2020-02-13T12:20:44.145Z [err] ../../nan/nan.h:1566:33: note: in definition of macro ‘NAN_METHOD’
2020-02-13T12:20:44.145Z [err] Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
2020-02-13T12:20:44.145Z [err] ^~~~
2020-02-13T12:20:44.145Z [err] ../src/binding.cc:85:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Flush(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
2020-02-13T12:20:44.145Z [err] NAN_METHOD(Flush) {
2020-02-13T12:20:44.145Z [err] ^~~~~
2020-02-13T12:20:44.145Z [err] ../../nan/nan.h:1566:33: note: in definition of macro ‘NAN_METHOD’
2020-02-13T12:20:44.145Z [err] Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
2020-02-13T12:20:44.145Z [err] ^~~~
2020-02-13T12:20:44.145Z [err] ../src/binding.cc:47:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
2020-02-13T12:20:44.145Z [err] NAN_METHOD(Write) {
2020-02-13T12:20:44.145Z [err] ^~~~~
2020-02-13T12:20:44.145Z [err] ../../nan/nan.h:1566:33: note: in definition of macro ‘NAN_METHOD’
2020-02-13T12:20:44.145Z [err] Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
2020-02-13T12:20:44.145Z [err] ^~~~
2020-02-13T12:20:44.145Z [err] ../src/binding.cc:24:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
2020-02-13T12:20:44.145Z [err] NAN_METHOD(Open) {
2020-02-13T12:20:44.145Z [err] ^~~~
2020-02-13T12:20:44.145Z [err] ../../nan/nan.h:1566:33: note: in definition of macro ‘NAN_METHOD’
2020-02-13T12:20:44.145Z [err] Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
2020-02-13T12:20:44.145Z [err] ^~~~
2020-02-13T12:20:44.185Z [err] make: *** [binding.target.mk:118: Release/obj.target/binding/src/binding.o] Error 1
2020-02-13T12:20:44.185Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/speaker/build'
2020-02-13T12:20:44.196Z [err] gyp ERR! build error
2020-02-13T12:20:44.196Z [err] gyp ERR! stack Error: make failed with exit code: 2
2020-02-13T12:20:44.196Z [err] gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-02-13T12:20:44.196Z [err] gyp ERR! stack at ChildProcess.emit (events.js:210:5)
2020-02-13T12:20:44.196Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
2020-02-13T12:20:44.196Z [err] gyp
2020-02-13T12:20:44.202Z [err] ERR! System Linux 4.19.75-v7+
2020-02-13T12:20:44.202Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-02-13T12:20:44.202Z [err] gyp ERR! cwd /home/pi/.node-red/node_modules/speaker
2020-02-13T12:20:44.202Z [err] gyp ERR! node -v v12.13.0
2020-02-13T12:20:44.202Z [err] gyp ERR! node-gyp -v v5.0.5
2020-02-13T12:20:44.202Z [err] gyp ERR! not ok
2020-02-13T12:20:45.869Z [err] npm
2020-02-13T12:20:45.869Z [err] WARN ts-jest@24.3.0 requires a peer of jest@>=24 <25 but none is installed. You must install peer dependencies yourself.
2020-02-13T12:20:45.869Z [err] npm
2020-02-13T12:20:45.869Z [err] WARN
2020-02-13T12:20:45.869Z [err] node-red-project@0.0.1 No repository field.
2020-02-13T12:20:45.870Z [err] npm
2020-02-13T12:20:45.870Z [err]
2020-02-13T12:20:45.870Z [err] WARN
2020-02-13T12:20:45.870Z [err] node-red-project@0.0.1 No license field.
2020-02-13T12:20:45.871Z [err]
2020-02-13T12:20:45.900Z [err] npm
2020-02-13T12:20:45.900Z [err] ERR! code ELIFECYCLE
2020-02-13T12:20:45.900Z [err] npm
2020-02-13T12:20:45.900Z [err] ERR!
2020-02-13T12:20:45.900Z [err] errno
2020-02-13T12:20:45.901Z [err] 1
2020-02-13T12:20:45.901Z [err] npm
2020-02-13T12:20:45.901Z [err] ERR!
2020-02-13T12:20:45.902Z [err] speaker@0.2.6 install: node-gyp rebuild
2020-02-13T12:20:45.902Z [err] npm
2020-02-13T12:20:45.902Z [err] ERR!
2020-02-13T12:20:45.902Z [err] Exit status 1
2020-02-13T12:20:45.902Z [err] npm
2020-02-13T12:20:45.902Z [err] ERR!
2020-02-13T12:20:45.902Z [err]
2020-02-13T12:20:45.902Z [err] npm
2020-02-13T12:20:45.903Z [err] ERR!
2020-02-13T12:20:45.903Z [err] Failed at the speaker@0.2.6 install script.
2020-02-13T12:20:45.903Z [err] npm
2020-02-13T12:20:45.903Z [err] ERR!
2020-02-13T12:20:45.903Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2020-02-13T12:20:45.948Z [err]
2020-02-13T12:20:45.948Z [err] npm ERR! A complete log of this run can be found in:
2020-02-13T12:20:45.948Z [err] npm ERR!
2020-02-13T12:20:45.949Z [err] /home/pi/.npm/_logs/2020-02-13T12_20_45_921Z-debug.log
2020-02-13T12:20:45.968Z rc=1

You might want to look at the issues on github and notice that this node hasn’t been updated in two years

That line holds the biggest clue: It needs NodeJS 6.x for this Node to work, and you use NodeJS 12, and rightly so. Node-RED stopped supporting Node 6 a while a go, and Node 8 is end of life soon enough too. In practice it means that this node is not compatible to modern versions of Node-RED.