# Unable to install a worldmap node

**URL:** <https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891>\
**Category:** Dashboard\
**Created:** [29 July 2020 18:57 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891 "2020-07-29T18:57:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 18:57 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/1 "2020-07-29T18:57:44Z")

</div>

Hello, I've created my Node-RED dashboard via Raspberry Pi. My Node-RED and my PI did not let me install the worldmap.

Like the [other poster](https://discourse.nodered.org/t/problem-installing-node-red-contrib-web-worldmap/22845), I got the exact same error when I tried to install node-red-contrib-web-worldmap.

On my Pi directory, I have entered `cd /home/pi/.node-red/ npm install` `node-red-contrib-web-worldmap`. I only got a bunch of error dialogues as per screenshot below.

 ![mi e uscito un errore](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/9/d9074975a38e9dc59554dd6416f9eccf47843d07.png).

Any assistance much 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:** [29 July 2020 19:36 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/2 "2020-07-29T19:36:35Z")

</div>

Does the PI have internet connectivity?  
Is it behind a proxy?

Quick test - try `ping 8.8.8.8` and `curl www.google.com` - do you get a good response?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [29 July 2020 19:37 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/3 "2020-07-29T19:37:23Z")

</div>

Is the pi connected to your network and the internet? Try  
`ping -c 3 8.8.8.8`  
which will ping google 3 times  
[EDIT] Ahh @Steve-Mcl beet me by micro seconds!

---

<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:** [29 July 2020 20:03 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/4 "2020-07-29T20:03:07Z")

</div>

Makes a change Paul 😛

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 20:13 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/5 "2020-07-29T20:13:53Z")

</div>

Hi @Steve-Mcl, @zenofmud  
Thank you for the fast response!

Seems to me like my Pi is connected to my home network (not a proxy).

 ![mi e sono connesso](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/1/c197c5f3d8e6dc4303b68050717a0aead900502a.png)

Any other idea why I cannot install the worldmap node?

---

<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:** [29 July 2020 20:23 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/6 "2020-07-29T20:23:12Z")

</div>

Your device is not reaching the internet (3 errors) you need to fix that then you can install.

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 20:28 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/7 "2020-07-29T20:28:45Z")

</div>

Ahh ok, I didn't realise the 3 errors means my device doesn't reach the Internet.

I did everything in [this website](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md), but my Node-RED still doesn't install the worldmap. Could you kindly advise on any other way I can let my device connect to my Internet?

---

<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:** [29 July 2020 20:32 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/8 "2020-07-29T20:32:17Z")

</div>

Is the pi connected to your router by wifi or by ethernet or not connected to the router at all?

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 20:33 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/9 "2020-07-29T20:33:54Z")

</div>

It's connected to my router by wifi.

---

<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:** [29 July 2020 20:36 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/10 "2020-07-29T20:36:23Z")

</div>

What do you see if you run  
`ifconfig`

**[Edit]** Also what do you get for  
`traceroute 8.8.8.8`

**[Further edit]** Also probably worth posting `/etc/wpa_supplicant/wpa_supplicant.conf` and `/etc/dhcpcd.conf` Blank out any sensitive information obviously.

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 21:00 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/11 "2020-07-29T21:00:37Z")

</div>

> [@Colin](#):
>
> /etc/dhcpcd.conf

So here's what I got so far:

```auto
ifconfig

```

 ![ipconfig](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/e/7e9062752dec9c897255acfc4ceb9a4b672039bb.png)

```auto
traceroute 8.8.8.8

```

 ![traceroute](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97d187d2b3a218caf591906b1140eaa73a795bd4.png)

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 21:01 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/12 "2020-07-29T21:01:17Z")

</div>

For the `/etc/wpa_supplicant/wpa_supplicant.conf` and `/etc/dhcpcd.conf`  
I only got Permission denied.  
 ![denied](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/c/2c5a5ae85e4cb82e5e041ecaf62fd7f5a80bb978.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [29 July 2020 21:05 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/13 "2020-07-29T21:05:37Z")

</div>

> [@morry239](#):
>
> For the `/etc/wpa_supplicant/wpa_supplicant.conf` and `/etc/dhcpcd.conf`

You need to use

```auto
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
sudo cat /etc/dhcpcd.conf

```

1- Also what OS are you running on the Pi  
2 - did you install NR using the [bash script](https://nodered.org/docs/getting-started/raspberrypi)?

---

<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:** [29 July 2020 21:13 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/14 "2020-07-29T21:13:15Z")

</div>

What came after that in the traceroute? It may take a little time to complete.  
What to you see if you run the same traceroute 8.8.8.8 in the PC? If you are using windows you might need to google to find how to do the equivalent on the PC.

---

<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:** [29 July 2020 21:15 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/15 "2020-07-29T21:15:42Z")

</div>

> [@Colin](#):
>
> traceroute 8.8.8.8 in the PC? If you are using windows you might need to google to find how to do the equivalent on the PC

`tracert 8.8.8.8`

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 21:23 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/16 "2020-07-29T21:23:08Z")

</div>

> [@zenofmud](#):
>
> `sudo cat /etc/dhcpcd.conf`

For `sudo cat /etc/wpa_supplicant/wpa_supplicant.conf`, I got:

 ![first supplicant](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/779b65e735a3ee5d6f45a6a6dd7314809ea6428b.png)

For` sudo cat /etc/dhcpcd.conf` I got a very lengthy response:

```auto
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Most distributions have NTP support.
#option ntp_servers

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

# Example static IP configuration:
#interface eth0
#static ip_address=MY HOME NETWORK

#static ip6_address=MY HOME NETWORK
#static routers=MY HOME NETWORK
#static domain_name_servers=MY HOME NETWORK

# It is possible to fall back to a static IP if DHCP fails:
# define static profile
#profile static_eth0
#static ip_address=my home network
#static routers=my home network
#static domain_name_servers=my home network

# fallback to static profile on eth0
#interface eth0
#fallback static_eth0

```

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 21:24 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/17 "2020-07-29T21:24:49Z")

</div>

@zenofmud  
I'm on Windows 10 and yes, I used a bash script to install NR.  
First I typed in

```auto
bash <(curl -sL
https://raw.githubusercontent.com/node-red/linux-installers/mast
er/deb/update-nodejs-and-nodered)

```

then `sudo systemctl enable nodered.service` , reboot `sudo reboot`

---

<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:** [29 July 2020 21:26 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/18 "2020-07-29T21:26:58Z")

</div>

That all looks ok, I think we need the full response from the traceroute on pi and PC. something is blocking your internet access.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [29 July 2020 21:38 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/19 "2020-07-29T21:38:28Z")

</div>

missing a default gateway and perhaps also missing a dns host setting

---

<div class="post-metadata">

**Author:** ![morry239](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@morry239](https://discourse.nodered.org/u/morry239)\
**Post date:** [29 July 2020 21:42 UTC](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891/20 "2020-07-29T21:42:00Z")

</div>

I did the traceroute on pi and PC (I assume you meant cmd?)

For the Pi, it looks the same old and the full response.

 ![traceroute](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97d187d2b3a218caf591906b1140eaa73a795bd4.png)

For the cmd  
 ![fritzbox](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/f/0fb6f597a5f5995c7693975b8842315299e7dc33.png)

[Next page](https://discourse.nodered.org/t/unable-to-install-a-worldmap-node/30891.md?page=2)
