# Modbus tcp not installed

**URL:** <https://discourse.nodered.org/t/modbus-tcp-not-installed/47560>\
**Category:** General\
**Created:** [24 June 2021 05:13 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560 "2021-06-24T05:13:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [24 June 2021 05:13 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560/1 "2021-06-24T05:13:43Z")

</div>

Hi All!  
Im newbe in node-red, I installed it on PI 4 B(2GB), and when I do install,- npm install node-red-contrib-modbus-tcp-ip

I have got the folling install flow

npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'  
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'  
npm WARN pi No description  
npm WARN pi No repository field.  
npm WARN pi No README data  
npm WARN pi No license field.

- node-red-contrib-modbus-tcp-ip@1.1.5  
updated 1 package and audited 12 packages in 2.33s  
found 0 vulnerabilities  
After that in node red i cant find appropriates nodes  
The same situations with  
npm install node-red-contrib-modbustcp  
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'  
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'  
npm WARN pi No description  
npm WARN pi No repository field.  
npm WARN pi No README data  
npm WARN pi No license field.

- node-red-contrib-modbustcp@1.2.3  
updated 1 package and audited 12 packages in 2.097s  
found 0 vulnerabilities

So I need help!

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [24 June 2021 05:41 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560/2 "2021-06-24T05:41:00Z")

</div>

> [@addi](#):
>
> /home/pi/package.json

Seems like you called npm install from the wrong directory, the node modules got installed directly into your user directory.

You need to change into your Node-RED workspace directory first, usually `~/.node-red` and call npm install from there.

---

<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:** [24 June 2021 06:56 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560/3 "2021-06-24T06:56:00Z")

</div>

Or probably better to use the install method built into node red. Select Manage Palette in the menu drop-down.

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [24 June 2021 19:43 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560/4 "2021-06-24T19:43:17Z")

</div>

Thank you very much, Now Ive got modbus-tcp nodes!!!!

---

<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:** [23 August 2021 19:43 UTC](https://discourse.nodered.org/t/modbus-tcp-not-installed/47560/5 "2021-08-23T19:43:53Z")

</div>

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