# Version 1.2.7 does not install some nodes

**URL:** <https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393>\
**Category:** General\
**Created:** [19 January 2021 15:09 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393 "2021-01-19T15:09:59Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [19 January 2021 15:09 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/1 "2021-01-19T15:09:59Z")

</div>

Hi there,

due to a crash I had to reinstall my system. I have now installed version 1.2.7 (automatically) Now I had to find out that I can no longer install node vl53lox, for example.  
On my old version 1.06 it works without any problems.  
How can I reinstall the old version)  
Many Thanks.

Thoralf

---

<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:** [19 January 2021 15:31 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/2 "2021-01-19T15:31:48Z")

</div>

Better to show us the error so you can fix that. It won't be the version of node red causing the problem, though it might be the version of nodejs. Or it might be because you have not installed the build tools.

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [19 January 2021 16:18 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/3 "2021-01-19T16:18:22Z")

</div>

Hi there, in the attachment the log view. Thoralf

[error log.txt](https://discourse.nodered.org/uploads/short-url/bfSBenAE5EFXcaFijJI8ikt5ret.txt) (107 KB)

---

<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:** [19 January 2021 17:01 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/4 "2021-01-19T17:01:59Z")

</div>

My interpretation of that is that node-red-contrib-easybotics-vl53l0x is pulling in a very old version of i2c-bus (1.2.5) which is not compatible with nodejs 12 which you have installed. Normally one would submit an issue against the node to get it updated. Unfortunately the [github repo](https://github.com/easybotics/node-red-contrib-vl53l0x) for the node has not got issues enabled, however the authors page on gihub has got a email address so I suggest you try emailing the issue.

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [19 January 2021 17:22 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/5 "2021-01-19T17:22:42Z")

</div>

Thanks, I'll do that

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [20 January 2021 09:05 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/6 "2021-01-20T09:05:29Z")

</div>

Hi there,  
nevertheless I add my question. I use the following command line for the installation:  
bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered))  
As a result, the latest version of Node Red will be installed.  
What should the command be if I want to install version 1.0.6, for example. Of course you can find this version on the Github. Can you load the zip file locally on the Raspberry and install it locally, or as mentioned above, rewrite the command line above that version 1.0.6 is installed.

Many Thanks

Thoralf

---

<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:** [20 January 2021 09:20 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/7 "2021-01-20T09:20:34Z")

</div>

To install a particular version of a module you can specify the version in the npm command line. So to install node red version 1.0.6 you can use  
`sudo npm install -g --unsafe-perm node-red@1.0.6`  
You have to use sudo and -g when installing node red as it is installed globally.  
That won't fix your problem though, as I said, it is not the version of node-red that is the problem but nodejs.

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [20 January 2021 09:35 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/8 "2021-01-20T09:35:00Z")

</div>

Hi there,  
Super thank you!!!  
I'll test this out tonight.  
I absolutely lack the knowledge of Nodered's structures. So I'm really grateful for your help.  
I'm just comparing my two systems. Why can I install the vl53lox node on my old Raspberry (Nodered 1.0.6) and not on the other Raspberry (Nodered 1.2.7).  
Of course I like the current version better and will contact the developer for the node vl53lox as agreed.  
There is also a successor vl53l1x, maybe he can change something there.

Many Thanks!!!  
Thoralf

---

<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:** [20 January 2021 09:39 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/9 "2021-01-20T09:39:40Z")

</div>

Hi @pinie_pinie

On your older system you have an older version of Node.js - the underlying runtime that Node-RED uses.

Any node module that has a binary component must be built against the Node.js runtime to work. It would appear the module you are trying to use does not compile against the latest version of Node.js.

The version of Node-RED is irrelevant in all of this.

On your older system, you could run `node -v` to find out what version of node.js you have there.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 January 2021 09:44 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/10 "2021-01-20T09:44:18Z")

</div>

Hi, there is a fork on github that is much more up-to-date and is using `"i2c-bus": "^5.2.0"` in `package.json` instead of `"i2c-bus": "^1.2.2"`...

> **[sany1231/node-red-contrib-vl53l0x](https://github.com/sany1231/node-red-contrib-vl53l0x)**
>
> A Node-RED node to talk to the vl53l0x on the I2C bus

You should be able to install direct from github like this...

```auto
cd ~/.node-red
npm install sany1231/node-red-contrib-vl53l0x

```

Worth a try?

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [20 January 2021 10:17 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/11 "2021-01-20T10:17:57Z")

</div>

Hi there,

it is difficult for a layperson to understand the whole system.  
But I roughly understood your answers and will test them tonight.  
Many thanks for your quick answers. I'll get back to you with my findings, maybe it will help other users too.

Thanks!  
Thoralf

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [20 January 2021 16:48 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/12 "2021-01-20T16:48:37Z")

</div>

Hi there,  
I can fully confirm your statements from this morning. The node (vl53lox) with the new link can be installed without any problems. On my old system there is version 10.18.1 (node -v), on the new V 12.20.1.  
Now I have a problem with the node "node-red-contrib-nube-logic". This cannot be installed either. Probably the same cause (see log)?  
Can this be reported centrally so that the node can be adapted?  
In any case, I learned a lot today.

Many Thanks!  
Thoralf[Error log.txt](https://discourse.nodered.org/uploads/short-url/qWOfoy9A0HE6prgfHV8Otc9MeR1.txt) (16.4 KB)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 January 2021 16:54 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/13 "2021-01-20T16:54:46Z")

</div>

> [@pinie\_pinie](#):
>
> Now I have a problem with the node "node-red-contrib-nube-logic".

there is an issue raised over 1 year ago on the github repository...

> <https://github.com/NubeIO/node-red-contrib-nube-logic/issues/2>
>
> i try to install this node but get the following error log.
> 
> OS: Raspbian GNU/…Linux 10 (buster)
> node -v = 12.14.1
> npm -v = 6.13.4
> 
> \`2020-01-15T20:33:31.784Z installieren : node-red-contrib-nube-logic 1.0.4
> 
> 2020-01-15T20:33:31.894Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-nube-logic@1.0.4
> 2020-01-15T20:33:41.300Z \[out\] 
> 2020-01-15T20:33:41.300Z \[out\] \> time@0.11.4 install /home/pi/.node-red/node\_modules/time
> 2020-01-15T20:33:41.300Z \[out\] \> node-gyp rebuild
> 2020-01-15T20:33:41.300Z \[out\] 
> 2020-01-15T20:33:43.613Z \[out\] make: Verzeichnis „/home/pi/.node-red/node\_modules/time/build“ wird betreten
> 2020-01-15T20:33:43.618Z \[out\] CXX(target) Release/obj.target/time/src/time.o
> 2020-01-15T20:33:46.593Z \[err\] In file included from ../src/time.cc:5:
> 2020-01-15T20:33:46.593Z \[err\] ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker\*)’:
> 2020-01-15T20:33:46.593Z \[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-01-15T20:33:46.593Z \[err\] , reinterpret\_cast\<uv\_after\_work\_cb\>(AsyncExecuteComplete)
> 2020-01-15T20:33:46.593Z \[err\] ^
> 2020-01-15T20:33:46.675Z \[err\] ../src/time.cc: At global scope:
> 2020-01-15T20:33:46.675Z \[err\] ../src/time.cc:12:20: error: ‘Handle’ has not been declared
> 2020-01-15T20:33:46.675Z \[err\] static void Init(Handle\<Object\> target) {
> 2020-01-15T20:33:46.675Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.675Z \[err\] ../src/time.cc:12:26: error: expected ‘,’ or ‘...’ before ‘\<’ token
> 2020-01-15T20:33:46.675Z \[err\] static void Init(Handle\<Object\> target) {
> 2020-01-15T20:33:46.675Z \[err\] ^
> 2020-01-15T20:33:46.675Z \[err\] ../src/time.cc: In static member function ‘static void Time::Init(int)’:
> 2020-01-15T20:33:46.675Z \[err\] ../src/time.cc:16:20: error: ‘target’ was not declared in this scope
> 2020-01-15T20:33:46.675Z \[err\] Nan::SetMethod(target, "time", Time\_);
> 2020-01-15T20:33:46.675Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.687Z \[err\] ../src/time.cc:16:20: note: suggested alternative: ‘tzset’
> 2020-01-15T20:33:46.687Z \[err\] Nan::SetMethod(target, "time", Time\_);
> 2020-01-15T20:33:46.687Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.687Z \[err\] tzset
> 2020-01-15T20:33:46.703Z \[err\] ../src/time.cc: In static member function ‘static Nan::NAN\_METHOD\_RETURN\_TYPE Time::Localtime(Nan::NAN\_METHOD\_ARGS\_TYPE)’:
> 2020-01-15T20:33:46.703Z \[err\] ../src/time.cc:65:64: error: no matching function for call to ‘v8::Value::IntegerValue()’
> 2020-01-15T20:33:46.703Z \[err\] time\_t rawtime = static\_cast\<time\_t\>(info\[0\]-\>IntegerValue());
> 2020-01-15T20:33:46.703Z \[err\] ^
> 2020-01-15T20:33:46.704Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.704Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.704Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.704Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2609:40: note: candidate: ‘v8::Maybe\<long long int\> v8::Value::IntegerValue(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.704Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int64\_t\> IntegerValue(
> 2020-01-15T20:33:46.704Z \[err\] ^ ~~~~~~~~~~~
> 2020-01-15T20:33:46.704Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2609:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.727Z \[err\] ../src/time.cc: In static member function ‘static Nan::NAN\_METHOD\_RETURN\_TYPE Time::Mktime(Nan::NAN\_METHOD\_ARGS\_TYPE)’:
> 2020-01-15T20:33:46.727Z \[err\] ../src/time.cc:119:103: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.727Z \[err\] tmstr.tm\_sec = Nan::Get(arg, Nan::New("seconds").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.727Z \[err\] ^
> 2020-01-15T20:33:46.727Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.727Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.727Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.727Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.727Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.727Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.727Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.727Z \[err\] ../src/time.cc:120:103: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.727Z \[err\] tmstr.tm\_min = Nan::Get(arg, Nan::New("minutes").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.727Z \[err\] ^
> 2020-01-15T20:33:46.727Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.727Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.727Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.727Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.727Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.727Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.727Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.728Z \[err\] ../src/time.cc:121:101: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.728Z \[err\] tmstr.tm\_hour = Nan::Get(arg, Nan::New("hours").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.728Z \[err\] ^
> 2020-01-15T20:33:46.728Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.728Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.728Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.728Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.728Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.728Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.728Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:122:106: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.734Z \[err\] tmstr.tm\_mday = Nan::Get(arg, Nan::New("dayOfMonth").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.734Z \[err\] ^
> 2020-01-15T20:33:46.734Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.734Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.734Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.734Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.734Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:123:101: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.734Z \[err\] tmstr.tm\_mon = Nan::Get(arg, Nan::New("month").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.734Z \[err\] ^
> 2020-01-15T20:33:46.734Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.734Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.734Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.734Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.734Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:124:100: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.734Z \[err\] tmstr.tm\_year = Nan::Get(arg, Nan::New("year").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.734Z \[err\] ^
> 2020-01-15T20:33:46.734Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.734Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.734Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.734Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.734Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:125:113: error: no matching function for call to ‘v8::Value::Int32Value()’
> 2020-01-15T20:33:46.734Z \[err\] tmstr.tm\_isdst = Nan::Get(arg, Nan::New("isDaylightSavings").ToLocalChecked()).ToLocalChecked()-\>Int32Value();
> 2020-01-15T20:33:46.734Z \[err\] ^
> 2020-01-15T20:33:46.734Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.734Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.734Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe\<int\> v8::Value::Int32Value(v8::Local\<v8::Context\>) const’
> 2020-01-15T20:33:46.734Z \[err\] V8\_WARN\_UNUSED\_RESULT Maybe\<int32\_t\> Int32Value(Local\<Context\> context) const;
> 2020-01-15T20:33:46.734Z \[err\] ^ ~~~~~~~~~
> 2020-01-15T20:33:46.734Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc: At global scope:
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:134:21: error: variable or field ‘init’ declared void
> 2020-01-15T20:33:46.734Z \[err\] static void init (Handle\<Object\> target) {
> 2020-01-15T20:33:46.734Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.734Z \[err\] ../src/time.cc:134:21: error: ‘Handle’ was not declared in this scope
> 2020-01-15T20:33:46.736Z \[err\] ../src/time.cc:134:21: note: suggested alternative: ‘rand\_r’
> 2020-01-15T20:33:46.736Z \[err\] static void init (Handle\<Object\> target) {
> 2020-01-15T20:33:46.736Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.736Z \[err\] rand\_r
> 2020-01-15T20:33:46.737Z \[err\] ../src/time.cc:134:34: error: expected primary-expression before ‘\>’ token
> 2020-01-15T20:33:46.737Z \[err\] static void init (Handle\<Object\> target) {
> 2020-01-15T20:33:46.737Z \[err\] ^
> 2020-01-15T20:33:46.737Z \[err\] ../src/time.cc:134:36: error: ‘target’ was not declared in this scope
> 2020-01-15T20:33:46.737Z \[err\] static void init (Handle\<Object\> target) {
> 2020-01-15T20:33:46.737Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.742Z \[err\] ../src/time.cc:134:36: note: suggested alternative: ‘tzset’
> 2020-01-15T20:33:46.742Z \[err\] static void init (Handle\<Object\> target) {
> 2020-01-15T20:33:46.742Z \[err\] ^ ~~~~~
> 2020-01-15T20:33:46.742Z \[err\] tzset
> 2020-01-15T20:33:46.743Z \[err\] In file included from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.743Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.743Z \[err\] ../src/time.cc:137:21: error: ‘init’ was not declared in this scope
> 2020-01-15T20:33:46.743Z \[err\] NODE\_MODULE(time, init)
> 2020-01-15T20:33:46.743Z \[err\] ^~~~
> 2020-01-15T20:33:46.743Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE\_MODULE\_X’
> 2020-01-15T20:33:46.743Z \[err\] (node::addon\_register\_func) (regfunc), \\
> 2020-01-15T20:33:46.743Z \[err\] ^ ~~~~~~
> 2020-01-15T20:33:46.743Z \[err\] ../src/time.cc:137:3: note: in expansion of macro ‘NODE\_MODULE’
> 2020-01-15T20:33:46.743Z \[err\] NODE\_MODULE(time, init)
> 2020-01-15T20:33:46.743Z \[err\] ^ ~~~~~~~~~~
> 2020-01-15T20:33:46.746Z \[err\] ../src/time.cc:137:21: note: suggested alternative: ‘int’
> 2020-01-15T20:33:46.746Z \[err\] NODE\_MODULE(time, init)
> 2020-01-15T20:33:46.746Z \[err\] ^~~~
> 2020-01-15T20:33:46.746Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE\_MODULE\_X’
> 2020-01-15T20:33:46.746Z \[err\] (node::addon\_register\_func) (regfunc), \\
> 2020-01-15T20:33:46.746Z \[err\] ^ ~~~~~~
> 2020-01-15T20:33:46.746Z \[err\] ../src/time.cc:137:3: note: in expansion of macro ‘NODE\_MODULE’
> 2020-01-15T20:33:46.746Z \[err\] NODE\_MODULE(time, init)
> 2020-01-15T20:33:46.746Z \[err\] ^ ~~~~~~~~~~
> 2020-01-15T20:33:46.859Z \[err\] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
> 2020-01-15T20:33:46.859Z \[err\] from ../../nan/nan.h:54,
> 2020-01-15T20:33:46.859Z \[err\] from ../src/time.cc:5:
> 2020-01-15T20:33:46.859Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase\<T\>::SetWeak(P\*, typename v8::WeakCallbackInfo\<P\>::Callback, v8::WeakCallbackType) \[with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo\<P\>::Callback = void (\*)(const v8::WeakCallbackInfo\<node::ObjectWrap\>&)\]’:
> 2020-01-15T20:33:46.859Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/node\_object\_wrap.h:84:78: required from here
> 2020-01-15T20:33:46.859Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo\<node::ObjectWrap\>::Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo\<node::ObjectWrap\>&)’} to ‘Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo\<void\>&)’} \[-Wcast-function-type\]
> 2020-01-15T20:33:46.859Z \[err\] reinterpret\_cast\<Callback\>(callback), type);
> 2020-01-15T20:33:46.859Z \[err\] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2020-01-15T20:33:46.912Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase\<T\>::SetWeak(P\*, typename v8::WeakCallbackInfo\<P\>::Callback, v8::WeakCallbackType) \[with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo\<P\>::Callback = void (\*)(const v8::WeakCallbackInfo\<Nan::ObjectWrap\>&)\]’:
> 2020-01-15T20:33:46.912Z \[err\] ../../nan/nan\_object\_wrap.h:65:61: required from here
> 2020-01-15T20:33:46.912Z \[err\] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo\<Nan::ObjectWrap\>::Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo\<Nan::ObjectWrap\>&)’} to ‘Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo\<void\>&)’} \[-Wcast-function-type\]
> 2020-01-15T20:33:47.135Z \[err\] make: \*\*\* \[time.target.mk:109: Release/obj.target/time/src/time.o\] Fehler 1
> 2020-01-15T20:33:47.135Z \[out\] make: Verzeichnis „/home/pi/.node-red/node\_modules/time/build“ wird verlassen
> 2020-01-15T20:33:47.139Z \[err\] gyp
> 2020-01-15T20:33:47.140Z \[err\] ERR!
> 2020-01-15T20:33:47.141Z \[err\] build error 
> 2020-01-15T20:33:47.146Z \[err\] gyp
> 2020-01-15T20:33:47.146Z \[err\] ERR! stack Error: \`make\` failed with exit code: 2
> 2020-01-15T20:33:47.146Z \[err\] gyp 
> 2020-01-15T20:33:47.146Z \[err\] ERR! stack at ChildProcess.onExit (/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:194:23)
> 2020-01-15T20:33:47.146Z \[err\] gyp
> 2020-01-15T20:33:47.146Z \[err\] ERR! stack at ChildProcess.emit (events.js:223:5)
> 2020-01-15T20:33:47.146Z \[err\] gyp 
> 2020-01-15T20:33:47.147Z \[err\] ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:272:12)
> 2020-01-15T20:33:47.147Z \[err\] gyp 
> 2020-01-15T20:33:47.148Z \[err\] ERR! System Linux 4.19.75-v7l+
> 2020-01-15T20:33:47.148Z \[err\] gyp
> 2020-01-15T20:33:47.148Z \[err\] ERR! command "/usr/local/bin/node" "/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"
> 2020-01-15T20:33:47.148Z \[err\] gyp
> 2020-01-15T20:33:47.148Z \[err\] ERR! cwd /home/pi/.node-red/node\_modules/time
> 2020-01-15T20:33:47.148Z \[err\] gyp ERR! 
> 2020-01-15T20:33:47.148Z \[err\] node -v v12.14.1
> 2020-01-15T20:33:47.148Z \[err\] gyp
> 2020-01-15T20:33:47.148Z \[err\] ERR! node-gyp -v v5.0.5
> 2020-01-15T20:33:47.149Z \[err\] gyp ERR! 
> 2020-01-15T20:33:47.149Z \[err\] not ok 
> 2020-01-15T20:33:47.674Z \[err\] npm
> 2020-01-15T20:33:47.674Z \[err\] ERR! code ELIFECYCLE
> 2020-01-15T20:33:47.674Z \[err\] npm ERR! errno
> 2020-01-15T20:33:47.675Z \[err\] 1
> 2020-01-15T20:33:47.677Z \[err\] npm 
> 2020-01-15T20:33:47.677Z \[err\] ERR! time@0.11.4 install: \`node-gyp rebuild\`
> 2020-01-15T20:33:47.677Z \[err\] npm ERR! Exit status 1
> 2020-01-15T20:33:47.677Z \[err\] npm ERR! 
> 2020-01-15T20:33:47.677Z \[err\] npm ERR! Failed at the time@0.11.4 install script.
> 2020-01-15T20:33:47.677Z \[err\] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> 2020-01-15T20:33:47.697Z \[err\] 
> 2020-01-15T20:33:47.697Z \[err\] npm ERR! A complete log of this run can be found in:
> 2020-01-15T20:33:47.697Z \[err\] npm
> 2020-01-15T20:33:47.697Z \[err\] ERR! /home/pi/.npm/\_logs/2020-01-15T20\_33\_47\_682Z-debug.log
> 2020-01-15T20:33:47.713Z rc=1\`

Is there anything that node provides that you _really_ need?

Most of its nodes look easily replaceable with standard or supported contrib nodes.

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [20 January 2021 17:13 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/14 "2021-01-20T17:13:42Z")

</div>

Hi there,

i use the "math" function in my project. Surely there are other nodes that can be used.  
If the problem has been around for so long, I have to look further.  
Thanks for the hint.

Thoralf

---

<div class="post-metadata">

**Author:** ![ryan780](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryan780/32/22974_2.png) [@ryan780](https://discourse.nodered.org/u/ryan780)\
**Post date:** [10 February 2021 03:05 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/15 "2021-02-10T03:05:02Z")

</div>

I tried this and the other new version that was published by easybotics and neither of them is working correctly I believe. The sensor is supposed to report the measurement every so many milliseconds, as defined by the polling interval in the node. However, you only get one reading after starting the polling and nothing else happens. The reading appears to be correct, but you have to continually poll the node in order to get the reading. I don't know what logs I can pull to try and help with this but I'm more than happy to if someone wants them.

---

<div class="post-metadata">

**Author:** ![pinie\_pinie](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Post date:** [13 February 2021 16:21 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/16 "2021-02-13T16:21:38Z")

</div>

Hi,

I am not the specialist, but I can confirm that. I am therefore using your version and am satisfied.  
A question:  
I have now ordered the vl53l1x rangefinder. This can probably measure up to 4m.  
Is there already a node for it?

Thoralf

---

<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:** [14 April 2021 16:22 UTC](https://discourse.nodered.org/t/version-1-2-7-does-not-install-some-nodes/39393/17 "2021-04-14T16:22:32Z")

</div>

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