# Install failed - Node-red-contrib-modbus

**URL:** <https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743>\
**Category:** General\
**Created:** [19 January 2024 22:21 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743 "2024-01-19T22:21:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdloechelt](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jdloechelt](https://discourse.nodered.org/u/jdloechelt)\
**Post date:** [19 January 2024 22:21 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/1 "2024-01-19T22:21:32Z")

</div>

Here is the log. Failed several times. Any help is appreciated! Thanks!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0af530989e24abe200926a14a7278a0e15c0efce.png)

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [19 January 2024 22:39 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/2 "2024-01-19T22:39:13Z")

</div>

Hi,  
Welcome to the Forum,

Please read the log...

> network In most cases you are behind a proxy or have bad network settings.  
> network This is a problem related to network connectivity.  
> If you are behind a proxy, please make sure that the  
> network 'proxy' config is set properly. see: 'npm help config'

We can't help you if we don't have more information on the hardware you're running Node-RED on.

---

<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:** [20 January 2024 10:37 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/3 "2024-01-20T10:37:30Z")

</div>

In future please copy/paste log outputs and similar. I was going to check whether I can access that url, but I can't because I cannot copy it from an image.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [20 January 2024 10:50 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/4 "2024-01-20T10:50:43Z")

</div>

Luckily OSX has built in text detection (but its not always perfect) 🤓

[https://dl.cloudsmith.io/public/iniationware-gmbh/plus4nodered/npm/open-p4nr/modbus-serial/8.1.0/modbus-serial-8.1.0.tgz#\_gl=1\*oezs8a\*\_gcl\_au\*NDk2NjE5MzkwLjE2ODc1MDQxODk](https://dl.cloudsmith.io/public/iniationware-gmbh/plus4nodered/npm/open-p4nr/modbus-serial/8.1.0/modbus-serial-8.1.0.tgz#_gl=1*oezs8a*_gcl_au*NDk2NjE5MzkwLjE2ODc1MDQxODk).

the link seems fine

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [20 January 2024 10:53 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/5 "2024-01-20T10:53:30Z")

</div>

> [@marcus-j-davies](#):
>
> Luckily OSX has built in text detection (but its not always perfect) 🤓

🤫

(we will make them want)

---

<div class="post-metadata">

**Author:** ![jdloechelt](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jdloechelt](https://discourse.nodered.org/u/jdloechelt)\
**Post date:** [22 January 2024 14:17 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/6 "2024-01-22T14:17:19Z")

</div>

Sorry, I'm new. I appreciate the help. It looks like my company's network settings are probably blocking the install from downloading the needed file from that site (very likely). Does that seem like it's probably all that's going on? I don't suppose there's a way I can just move that file to where it needs to be manually... Thanks again!

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 14:33 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/7 "2024-01-22T14:33:50Z")

</div>

> [@jdloechelt](#):
>
> I don't suppose there's a way I can just move that file to where it needs to be manually... Thanks again!

If you have the file...

1. place it in the **.node-red** directory (and remain in here after)  
usually **~/.node-red**

2. Run the following from this same directory  
**npm install ./modbus-serial-8.1.0.tgz**

3. proceeded to install the node module as you have been trying in Node RED.  
Because you installed the needed dependency manually - it may stop it from trying to download

Untested of course - but should work.

---

<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:** [22 January 2024 14:43 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/8 "2024-01-22T14:43:36Z")

</div>

I think you would be better to ask your company IT department for assistance. Many companies will consider it a serious issue to install s/w from sources they block.

---

<div class="post-metadata">

**Author:** ![jdloechelt](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jdloechelt](https://discourse.nodered.org/u/jdloechelt)\
**Post date:** [22 January 2024 15:30 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/9 "2024-01-22T15:30:13Z")

</div>

Absolutely! The issue isn't that the site is blocked but rather the pc I'm using has no internet access at all other than a few whitelisted sites and I am installing nodes from a remote pc that does have internet. Either way, I appreciate the reminder and I always check first.

---

<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:** [22 January 2024 15:37 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/10 "2024-01-22T15:37:29Z")

</div>

> [@jdloechelt](#):
>
> I am installing nodes from a remote pc that does have internet.

If the PC is the same architecture and OS (and version) and nodejs version then you can install on the PC and copy the whole .node-red folder to the other machine.

---

<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:** [22 March 2024 15:38 UTC](https://discourse.nodered.org/t/install-failed-node-red-contrib-modbus/84743/11 "2024-03-22T15:38:05Z")

</div>

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