# Node-red-contib-ttn Installing ERROR

**URL:** <https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996>\
**Category:** General\
**Created:** [10 April 2019 20:26 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996 "2019-04-10T20:26:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vaccaro](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Vaccaro](https://discourse.nodered.org/u/Vaccaro)\
**Post date:** [10 April 2019 20:26 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/1 "2019-04-10T20:26:33Z")

</div>

Hello, i'm trying to install ttn palette on node red running locally on windows 10. The log error of trying to install is:

2019-04-10T20:22:55.734Z Install : node-red-contrib-ttn 2.0.5  
2019-04-10T20:22:56.044Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-ttn@2.0.5  
2019-04-10T20:23:07.425Z [err] npm  
2019-04-10T20:23:07.425Z [err] ERR! code ENOGIT  
2019-04-10T20:23:07.428Z [err] npm  
2019-04-10T20:23:07.428Z [err] ERR! Error while executing:  
2019-04-10T20:23:07.428Z [err] npm ERR! undefined ls-remote -h -t [https://github.com/thethingsnetwork/api.git](https://github.com/thethingsnetwork/api.git)  
2019-04-10T20:23:07.428Z [err] npm  
2019-04-10T20:23:07.428Z [err] ERR!  
2019-04-10T20:23:07.428Z [err] npm ERR! undefined  
2019-04-10T20:23:07.428Z [err] npm  
2019-04-10T20:23:07.429Z [err] ERR! No git binary found in $PATH  
2019-04-10T20:23:07.429Z [err] npm  
2019-04-10T20:23:07.429Z [err] ERR!  
2019-04-10T20:23:07.429Z [err] npm  
2019-04-10T20:23:07.429Z [err] ERR! Failed using git.  
2019-04-10T20:23:07.429Z [err] npm ERR! Please check if you have git installed and in your PATH.  
2019-04-10T20:23:07.483Z [err]  
2019-04-10T20:23:07.483Z [err] npm ERR! A complete log of this run can be found in:  
2019-04-10T20:23:07.483Z [err] npm ERR! C:\Users\Byond SDR\_1\AppData\Roaming\npm-cache\_logs\2019-04-10T20\_23\_07\_431Z-debug.log  
2019-04-10T20:23:07.514Z rc=1

node version: 10.15.3  
npm verion: 6.4.1

Help pls

---

<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:** [10 April 2019 20:42 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/2 "2019-04-10T20:42:02Z")

</div>

As one of the lines says. Do you have git installed and working ?

---

<div class="post-metadata">

**Author:** ![hebergeweb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hebergeweb/32/6394_2.png) [@hebergeweb](https://discourse.nodered.org/u/hebergeweb)\
**Post date:** [11 April 2019 11:07 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/3 "2019-04-11T11:07:08Z")

</div>

Try this:

```auto
cd $HOME/.node-red
npm install node-red-contrib-ttn

```

$HOME =\> `C:/Users/<user>/` (replacing `<user>` with your actual user name)

> **[node-red-contrib-ttn](https://www.npmjs.com/package/node-red-contrib-ttn)**
>
> The Things Network Node-RED Application Nodes

---

<div class="post-metadata">

**Author:** ![Vaccaro](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Vaccaro](https://discourse.nodered.org/u/Vaccaro)\
**Post date:** [11 April 2019 12:02 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/4 "2019-04-11T12:02:45Z")

</div>

Hello, i installed git from this website [https://git-scm.com/](https://git-scm.com/), and installed too by typing in windows powershell "npm i -g git-win --git4win\_mirror=http://npm.taobao.org/mirrors/git-for-windows"

But when i type git --version it's returned an error like i don't installed nothing. Is that de problem?

---

<div class="post-metadata">

**Author:** ![Vaccaro](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Vaccaro](https://discourse.nodered.org/u/Vaccaro)\
**Post date:** [11 April 2019 12:13 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/5 "2019-04-11T12:13:01Z")

</div>

Now I've tried this command below as an admin in cmd instead of using powershell. But i still can't use the pallet, in the node-red it's shows me that is not installed.

C:\Windows\system32\>npm install node-red-contrib-ttn

grpc@1.19.0 install C:\Windows\system32\node\_modules\grpc  
node-pre-gyp install --fallback-to-build --library=static\_library

node-pre-gyp WARN Using needle for node-pre-gyp https download  
[grpc] Success: "C:\Windows\system32\node\_modules\grpc\src\node\extension\_binary\node-v64-win32-x64-unknown\grpc\_node.node" is installed via remote  
npm WARN saveError ENOENT: no such file or directory, open 'C:\Windows\system32\package.json'  
npm notice created a lockfile as package-lock.json. You should commit this file.  
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\system32\package.json'  
npm WARN system32 No description  
npm WARN system32 No repository field.  
npm WARN system32 No README data  
npm WARN system32 No license field.

- node-red-contrib-ttn@2.0.5  
added 229 packages from 137 contributors and audited 747 packages in 85.539s  
found 0 vulnerabilities

---

<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:** [11 April 2019 12:25 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/6 "2019-04-11T12:25:01Z")

</div>

You need to be in the users node-red- directory .node-red . This is reported whn you start node-red from the command line so you can see which one it is using.  
and you shouldn't install as admin...  
So yes it has now installed - but not in the correct place.

---

<div class="post-metadata">

**Author:** ![hendipratama](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hendipratama](https://discourse.nodered.org/u/hendipratama)\
**Post date:** [26 June 2019 04:21 UTC](https://discourse.nodered.org/t/node-red-contib-ttn-installing-error/9996/7 "2019-06-26T04:21:14Z")

</div>

cd .node-red on your command prompt
