# Serialport@6.2.2 install fail

**URL:** <https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368>\
**Category:** General\
**Created:** [20 April 2019 00:50 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368 "2019-04-20T00:50:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Labhart](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@Labhart](https://discourse.nodered.org/u/Labhart)\
**Post date:** [20 April 2019 00:50 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/1 "2019-04-20T00:50:38Z")

</div>

Followed Node Red install instructions exactly for Win 10 OS, direct from Node [Red.org](http://Red.org). Attempting to install NCD zigbee device wireless gateway node and process fails at install for serialport@6.2.2. Suspect compiler issue. Looking for ideas. Node.js. version is latest as installed today. Guidance is appreciated.

---

<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 April 2019 01:48 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/2 "2019-04-20T01:48:22Z")

</div>

i dont know that node or its requirements however I could possibly point you in the right direction if you post the log from console?

Its quite possible it will tell you whats wrong. Its fairly likely if it need to build your environment may nod be setup correctly (do you have [build tools](https://www.npmjs.com/package/windows-build-tools) installed?)

All of this is speculation without seeing log.

---

<div class="post-metadata">

**Author:** ![Labhart](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@Labhart](https://discourse.nodered.org/u/Labhart)\
**Post date:** [20 April 2019 03:12 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/3 "2019-04-20T03:12:32Z")

</div>

let me try build tools. I have done nothing more than install node red at this point I will try and reply. Thanks

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 April 2019 06:17 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/4 "2019-04-20T06:17:07Z")

</div>

Can you give us a pointer to the ZigBee node? I think you may need newer serialport for newer versions of nodejs (10) . 6 is fine for node 8. As it should be precompiled for windows. So if the ZigBee node it pulling an old version it may need updating also.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 April 2019 13:31 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/5 "2019-04-20T13:31:21Z")

</div>

You have to have build-tools installed for many Node.js nodes. Any Node.js package that has a binary component is likely to require compiling and that can't happen on Windows without build-tools.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 April 2019 14:55 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/6 "2019-04-20T14:55:27Z")

</div>

(But serialport on windows isn’t one of them)

---

<div class="post-metadata">

**Author:** ![Labhart](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@Labhart](https://discourse.nodered.org/u/Labhart)\
**Post date:** [20 April 2019 16:54 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/7 "2019-04-20T16:54:43Z")

</div>

It is an NCD wireless gateway node. The device is a vibration/temperature sensor I bought from [NCD.io](http://NCD.io). I am away from PC for a few days and do not have log files, specifics. Figured this was a common problem as I see many googled stories of serial port problems with nodes. I understand this is difficult to troubleshoot without specifics. I had hoped to hear something that was obvious. Let me get back to the PC next week and provide some specifics.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 April 2019 17:00 UTC](https://discourse.nodered.org/t/serialport-6-2-2-install-fail/10368/8 "2019-04-20T17:00:11Z")

</div>

Apologies for not being clear. Which zigbee node-red node are you trying to install to talk to the device. ? Which version of nodejs do you have installed at the moment?

PS we are on node-red-serialport@0.8.1 for nodejs 10.x
