# Downloading node issues

**URL:** <https://discourse.nodered.org/t/downloading-node-issues/3789>\
**Category:** General\
**Created:** [8 October 2018 15:14 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789 "2018-10-08T15:14:02Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 15:14 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/1 "2018-10-08T15:14:02Z")

</div>

Any one come across these errors before and wish to help out or guide in right direction.  
Greatly appreciated.  
Many thanks!  
npm ERR! Linux 4.4.105-cip15  
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-counter "  
npm ERR! node v6.12.3  
npm ERR! npm v3.10.10  
npm ERR! code EAI\_AGAIN  
npm ERR! errno EAI\_AGAIN  
npm ERR! syscall getaddrinfo

npm ERR! getaddrinfo EAI\_AGAIN [registry.npmjs.org:443](http://registry.npmjs.org:443)  
npm ERR!  
npm ERR! If you need help, you may report this error at:  
npm ERR! [https://github.com/npm/npm/issues](https://github.com/npm/npm/issues)

npm ERR! Please include the following file with any support request:  
npm ERR! /home/root/npm-debug.log  
root@iot2000:~# node-red-contrib-cip-ethernet-ip  
-sh: node-red-contrib-cip-ethernet-ip: command not found  
root@iot2000:~# npm install node-red-contrib-cip-ethernet-ip  
npm ERR! Linux 4.4.105-cip15  
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-cip-eth ernet-ip"  
npm ERR! node v6.12.3  
npm ERR! npm v3.10.10  
npm ERR! code EAI\_AGAIN  
npm ERR! errno EAI\_AGAIN  
npm ERR! syscall getaddrinfo

npm ERR! getaddrinfo EAI\_AGAIN [registry.npmjs.org:443](http://registry.npmjs.org:443)  
npm ERR!  
npm ERR! If you need help, you may report this error at:  
npm ERR! [https://github.com/npm/npm/issues](https://github.com/npm/npm/issues)

npm ERR! Please include the following file with any support request:  
npm ERR! /home/root/npm-debug.log

---

<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:** [8 October 2018 15:28 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/2 "2018-10-08T15:28:17Z")

</div>

> [@Pac8](#):
>
> npm ERR! getaddrinfo EAI\_AGAIN [registry.npmjs.org:443](http://registry.npmjs.org:443)

EAI\_AGAIN is a dns lookup error I believe, is the device able to lookup that address? Try  
ping [registry.npmjs.org](http://registry.npmjs.org)  
from the device and see if that works.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 15:49 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/3 "2018-10-08T15:49:54Z")

</div>

I tried to ping "[registry.npmls.org](http://registry.npmls.org)" from putty/iot and got no response but am able to ping from my desktop cmd.

---

<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:** [8 October 2018 15:51 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/4 "2018-10-08T15:51:33Z")

</div>

That is likely the problem then. The device does is not able to lookup that address.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 15:54 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/5 "2018-10-08T15:54:15Z")

</div>

I'm thinking is there something blocking my iot from accessing external info through my network. I.t issue.

---

<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:** [8 October 2018 20:07 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/6 "2018-10-08T20:07:22Z")

</div>

It is probably not the access to the internet that is the problem but that DNS is not working. DNS is the mechanism by which a device looks up the ip address of a domain name (such as the npm registry). First try  
ping 8.8.8.8  
If that works then you have basic connectivity. Then you must find how (or if) the device performs DNS lookup. You haven't told us anything about the device so we can't help there.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 20:22 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/7 "2018-10-08T20:22:40Z")

</div>

Sorry Colin, I'm using a Siemens ioT 2020. Running it with node red a simple program when a push button is pressed it com ts in the debug screen.  
I'm new to node red and this is my first time using the ioT 2020. I'm a little green to computer set ups only following the instructions I find on line.

---

<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:** [8 October 2018 20:37 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/8 "2018-10-08T20:37:36Z")

</div>

Is this in work? If it is it is standard for there to be network segregation which would restrict access to the internet.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 20:44 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/9 "2018-10-08T20:44:12Z")

</div>

I'm running it from my own desktop at home and giving me same errors. I have brought home a brand new ioT 2020 to start from fresh but still getting no where.

---

<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:** [8 October 2018 20:46 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/10 "2018-10-08T20:46:54Z")

</div>

In that case it’s more of a IoT2020 issue rather than a Node-RED issue. You are probably more likely to gain an answer on the siemens support forum. Sorry!

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 20:50 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/11 "2018-10-08T20:50:55Z")

</div>

Ok thanks for your help

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [8 October 2018 20:54 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/12 "2018-10-08T20:54:05Z")

</div>

Looks like that device defaults to a static ip addr, without internet access.

Here is a link to the [linux commands to enable DNS lookups](https://support.industry.siemens.com/tf/ww/en/posts/dns-setup-with-fixed-ip/162724/) on your device... I have not tried them, but I hope it helps.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [8 October 2018 21:15 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/13 "2018-10-08T21:15:25Z")

</div>

Thank you I'll give it a shot

---

<div class="post-metadata">

**Author:** ![czapatakama](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@czapatakama](https://discourse.nodered.org/u/czapatakama)\
**Post date:** [24 October 2018 22:45 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789/14 "2018-10-24T22:45:45Z")

</div>

Hello, check this:

[https://support.industry.siemens.com/tf/ww/en/posts/require-node-update-and-help-with-opc-ua/200574/?page=0&pageSize=10](https://support.industry.siemens.com/tf/ww/en/posts/require-node-update-and-help-with-opc-ua/200574/?page=0&pageSize=10)
