# Installation of node modules like the dashboard is not possible (err EAI\_AGAIN, docker)

**URL:** https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175
**Category:** General
**Tags:** docker
**Created:** [25 November 2023 11:24 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175 "2023-11-25T11:24:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![domi](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@domi](https://discourse.nodered.org/u/domi)
#### Post date: [25 November 2023 11:24 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/1 "2023-11-25T11:24:35Z")

</div>

hello  
My node-red run in a container. with 192.168.1.232:1880 i can see it.  
BUT if i try to install an new paket like the node red dashboard, it does not work.  
the log means:

```auto
----------------------------------------------------------

2023-11-25T11:13:50.463Z Installieren : node-red-dashboard 3.6.1

2023-11-25T11:13:50.868Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-dashboard@3.6.1

2023-11-25T11:13:52.032Z [err] npm

2023-11-25T11:13:52.033Z [err] WARN

2023-11-25T11:13:52.034Z [err] config production Use `--omit=dev` instead.

2023-11-25T11:15:17.786Z [err] npm

2023-11-25T11:15:17.787Z [err] ERR! code

2023-11-25T11:15:17.787Z [err] EAI_AGAIN

2023-11-25T11:15:17.788Z [err] npm ERR! syscall getaddrinfo

2023-11-25T11:15:17.789Z [err] npm ERR!

2023-11-25T11:15:17.791Z [err] errno EAI_AGAIN

2023-11-25T11:15:17.804Z [err] npm ERR! request to https://registry.npmjs.org/node-red-dashboard failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org

2023-11-25T11:15:17.813Z [err]

2023-11-25T11:15:17.814Z [err] npm ERR!

2023-11-25T11:15:17.814Z [err] A complete log of this run can be found in:

2023-11-25T11:15:17.814Z [err] npm ERR! /data/.npm/_logs/2023-11-25T11_13_51_940Z-debug-0.log

2023-11-25T11:15:17.829Z rc=1

```

---

<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: [25 November 2023 11:31 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/2 "2023-11-25T11:31:21Z")

</div>

> [@domi](#):
>
> `errno EAI_AGAIN`

This means no internet connectivity. (Edit : it really means a DNS issue but for the sake of brevity, it's an interet issue)

And since it is a docker container, that's where you should start looking. (i.e. it's not a node-red issue)

Is there a reason you are using docker? If you are not familiar with docker or don't really need it, it can present difficulties you don't need!

---

<div class="post-metadata">

### Author: ![domi](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@domi](https://discourse.nodered.org/u/domi)
#### Post date: [25 November 2023 11:53 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/3 "2023-11-25T11:53:38Z")

</div>

YES it seams to bee a docker issue.  
I try a lot of things wirs node red an if something goes wrong, i kill the container and rebulid.

So i have to find the error!  
If someone has a good idea, please...

---

<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: [25 November 2023 12:06 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/4 "2023-11-25T12:06:08Z")

</div>

> [@domi](#):
>
> If someone hast ag good idea, pleas...

1. Don't use Docker.
2. If you must use docker then you need to find why the internet is not accessible from within the container.

---

<div class="post-metadata">

### Author: ![domi](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@domi](https://discourse.nodered.org/u/domi)
#### Post date: [25 November 2023 12:10 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/5 "2023-11-25T12:10:48Z")

</div>

that is not very helpful.

---

<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: [25 November 2023 12:33 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/6 "2023-11-25T12:33:42Z")

</div>

In fairness, you didnt answer:

> [@Steve-Mcl](#):
>
> Is there a reason you are using docker? If you are not familiar with docker or don't really need it, it can present difficulties you don't need!

It could very well be that you didnt know there was a non docker way of running Node-RED? It could be your "friend" told you to use docker or you read it somewhere! The truth is, not using docker is just what some people need to hear!

I would wager the majority of folk here do not use docker & lets not forget, this is a node-red forum 🤷

Typically, the folk on this forum are hugely helpful but this particular question has been asked (and answered sooooo many times, both [on this forum](https://discourse.nodered.org/search?q=EAI_AGAIN%20order%3Alatest) and [around the web](https://www.google.com/search?q=docker+eai_again)).

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [25 November 2023 12:40 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/7 "2023-11-25T12:40:19Z")

</div>

> [@domi](#):
>
> I try a lot of things wirs node red an if something goes wrong, i kill the container and rebulid.

I have heard that is a pretty simple way to reset your Node-red development environment.  
An alternative without Docker:

```auto
rm -rf ~/.node-red 
tar xf mylatestnoderedbackup.tar

```

---

<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: [25 November 2023 13:19 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/8 "2023-11-25T13:19:37Z")

</div>

What have you tried? Google found this which might be helpful.  
[devops - My docker container has no internet - Stack Overflow](https://stackoverflow.com/questions/20430371/my-docker-container-has-no-internet#:~:text=First%20thing%20to%20check%20is,ping%20google.com%20will%20fail).

---

<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: [9 December 2023 13:19 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175/9 "2023-12-09T13:19:39Z")

</div>

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