# Cannot install node-red-contrib-ttn in Windows

**URL:** <https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283>\
**Category:** General\
**Created:** [29 October 2019 15:54 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283 "2019-10-29T15:54:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnd](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@johnd](https://discourse.nodered.org/u/johnd)\
**Post date:** [29 October 2019 15:54 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/1 "2019-10-29T15:54:19Z")

</div>

Sorry, I'm sure this is a very common issue but can't quickly spot a solution online.

I have a NR installation running fine under Win32 and wish to add node-red-contrib-ttn. But:

> npm install -g node-red-contrib-ttn

errors out with 'No git binary found in $PATH'. I'm sure I don't know enough about Windows paths and npm. Be most grateful if anyone could spell out what I need to do please or point me to a relevant online resource.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 October 2019 16:07 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/2 "2019-10-29T16:07:35Z")

</div>

If you search the forum with that error message you will find this thread which contains suggestions of what to do [Node-red-contib-ttn Installing ERROR](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/4)

---

<div class="post-metadata">

**Author:** ![johnd](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@johnd](https://discourse.nodered.org/u/johnd)\
**Post date:** [29 October 2019 16:16 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/3 "2019-10-29T16:16:42Z")

</div>

Should have said: I already tried that and it gives the same error. Looks like I should be editing $PATH to include some additional git folder or pointer but clueless as to exactly what to add.

Edit: Maybe I don't have git installed and the ttn node installation expects it to be there? Is that a reasonable surmise? So maybe a solution is to look to install git on this Windows box? I can't currently see any git folder under C:\Program Files\Git... Is that where I might expect it to be if it was installed?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 October 2019 16:39 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/4 "2019-10-29T16:39:49Z")

</div>

The nodes readme on github has the helpful comment

> Make sure you have `git` installed.

As you say you've done that you can either wait and see if someone who has done it answers your post, and/or open an issue on the nodes github page where hopefully the author can explain what you need to do and also update the nodes docs to help others.

---

<div class="post-metadata">

**Author:** ![johnd](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@johnd](https://discourse.nodered.org/u/johnd)\
**Post date:** [29 October 2019 17:04 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/5 "2019-10-29T17:04:05Z")

</div>

OK. Installed git for Win32 from [git-scm.com](http://git-scm.com). Still wouldn't play!

Had to edit the PATH variable manually to include C:\Program Files\Git\bin and then bingo!

Not v obvious how to do so, but opening a System dialogue and searching for Environment showed the way. In the git install there are many options - I just accepted all the defaults bar opting to use VSC as the text editor. Maybe one of the options would have updated the PATH automatically?

Now to find out if the TTN node actually works! Many thanks ukmoose for prompting me along!

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 October 2019 17:18 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/6 "2019-10-29T17:18:27Z")

</div>

Glad you got it to work, can you also add an issue to the nodes github page explaining what you did, hopefully they can then amend their instructions to allow other people to more easily install it in future

---

<div class="post-metadata">

**Author:** ![johnd](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@johnd](https://discourse.nodered.org/u/johnd)\
**Post date:** [30 October 2019 09:23 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/7 "2019-10-30T09:23:24Z")

</div>

I'm a github newbie, but the TTN node page seems is saying: 'This repository has been archived by the owner. It is now read-only.' Can't see any obvious way of raising a new issue.

---

<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:** [30 October 2019 09:51 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/8 "2019-10-30T09:51:28Z")

</div>

Yes, it isn't being developed any more.

You have a couple of choices. Either fork the repository and create your own variant.

Or, use the TTN API's directly without help from a specific node. There seem to be some examples of this in the flows library?

---

<div class="post-metadata">

**Author:** ![johnd](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@johnd](https://discourse.nodered.org/u/johnd)\
**Post date:** [30 October 2019 10:00 UTC](https://discourse.nodered.org/t/cannot-install-node-red-contrib-ttn-in-windows/17283/9 "2019-10-30T10:00:48Z")

</div>

Really I was just trying to follow up ukmoose's suggestion of flagging up the installation issue I encountered. But now that I do have it successfully installed, initial indications are that the node is working fine. So from my point of view I'm happy to leave it there.
