# Telnet Connection Node Missing after install

**URL:** <https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329>\
**Category:** General\
**Created:** [4 November 2020 15:16 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329 "2020-11-04T15:16:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [4 November 2020 15:16 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/1 "2020-11-04T15:16:57Z")

</div>

Hi,  
i want to use the [https://flows.nodered.org/node/node-red-contrib-telnet-client](https://flows.nodered.org/node/node-red-contrib-telnet-client) Telnet Node.  
When i install i can setup the telnet connection, but when i want to deploy it i get an error that says that the telnet connection node is missing.  
After rebooting node red the telnet connection settings are gone and i cannot use the package.

Can anyone help me?  
Is there a way to report bugs direct on a package?

---

<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:** [4 November 2020 15:50 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/2 "2020-11-04T15:50:52Z")

</div>

Do you mean you get the Flows Stopped Due To Missing Nodes message?  
If so then open a terminal and go to your .node-red folder and run  
`npm install node-red-contrib-telnet-client`  
and if, at the end, it says it has failed then copy/paste the output here please. When pasting it in use the `</>` button at the top of the forum text window.  
If it appears to have succeeded then stop node red and start it in the terminal and post that log here too.

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [4 November 2020 16:16 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/3 "2020-11-04T16:16:02Z")

</div>

There was just an update in the last couple of minutes (but the page says 2 months ago).  
Now i have V 1.0.1 and this bug is gone - it's not working (doesn't read the telnet data) but i have no more error.

---

<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:** [4 November 2020 16:31 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/4 "2020-11-04T16:31:55Z")

</div>

Unfortunately the node does not seem to have a github repository and so there is no obvious way to report a problem. You could try contacting the author directly.

---

<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:** [4 November 2020 22:00 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/5 "2020-11-04T22:00:07Z")

</div>

Do you have to use telnet, can you not use ssh?

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [4 November 2020 23:03 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/6 "2020-11-04T23:03:31Z")

</div>

Jeah i sadly have to, ssh is not supported.  
now the package bugs after rebooting and says that 2 other nodes of the package are missing - very weird.  
Looks like this:  
 ![df](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/1/4131da8e6012b438d3b3700ee79daaa41f1fba9c.jpeg)

Install log looks like so:

```auto
2020-11-04T23:47:00.668Z installieren : node-red-contrib-telnet-client 1.0.1

2020-11-04T23:47:00.934Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-telnet-client@1.0.1
2020-11-04T23:47:06.924Z [out] + node-red-contrib-telnet-client@1.0.1
2020-11-04T23:47:06.924Z [out] added 6 packages from 5 contributors in 4.508s
2020-11-04T23:47:07.028Z rc=0

```

---

<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:** [5 November 2020 07:40 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/7 "2020-11-05T07:40:44Z")

</div>

Have you searched the flows site and the forum for telnet to see if there are alternatives?

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [5 November 2020 09:10 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/8 "2020-11-05T09:10:06Z")

</div>

I could try to use the tcp node but i'm not sure how to send sth with the tcp node.  
I already tried but it didn't work

```auto
[{"id":"15b71cd6.054763","type":"inject","z":"ea4157b9.422548","name":"","props":[{"p":"data","v":"MCa","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":640,"y":500,"wires":[["7267fa9d.915f24"]]},{"id":"7267fa9d.915f24","type":"tcp out","z":"ea4157b9.422548","host":"192.168.178.84","port":"23","beserver":"client","base64":false,"end":false,"name":"","x":920,"y":500,"wires":[]}]

```

And the tcp in Node does not only listen but it blocks all other connections - so telnet would be better.

Also i could not find any contact information about the author of the telnet package.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [5 November 2020 09:49 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/9 "2020-11-05T09:49:30Z")

</div>

`npm owner ls node-red-contrib-telnet-client`

cabrouwers [npmjs@charles-andre.com](mailto:npmjs@charles-andre.com)

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [5 November 2020 10:58 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/11 "2020-11-05T10:58:12Z")

</div>

When i install the package with the terminal i see a lot more output - also some errors (probably the reason why it doesn't work)

```auto
npm install node-red-contrib-telnet-client

> bcrypt@3.0.6 install /opt/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.6/bcrypt_lib-v3.0.6-node-v72-linux-x64-musl.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.6 and node@12.18.4 (node-v72 ABI, musl) (falling back to source compile with node-gyp) 
gyp ERR! build error 
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21)
gyp ERR! System Linux 4.4.59+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/node_modules/bcrypt/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /opt/node_modules/bcrypt
gyp ERR! node -v v12.18.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/node_modules/bcrypt/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.4.59+
node-pre-gyp ERR! command "/usr/bin/node" "/opt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /opt/node_modules/bcrypt
node-pre-gyp ERR! node -v v12.18.4
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/node_modules/bcrypt/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)

> bcrypt@3.0.8 install /opt/node_modules/node-red-admin/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v72-linux-x64-musl.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@12.18.4 (node-v72 ABI, musl) (falling back to source compile with node-gyp) 
gyp ERR! build error 
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21)
gyp ERR! System Linux 4.4.59+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /opt/node_modules/node-red-admin/node_modules/bcrypt
gyp ERR! node -v v12.18.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/node_modules/node-red-admin/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.4.59+
node-pre-gyp ERR! command "/usr/bin/node" "/opt/node_modules/node-red-admin/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /opt/node_modules/node-red-admin/node_modules/bcrypt
node-pre-gyp ERR! node -v v12.18.4
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/node_modules/node-red-admin/node_modules/bcrypt/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@3.0.6 (node_modules/bcrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@3.0.6 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@3.0.8 (node_modules/node-red-admin/node_modules/bcrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ node-red-contrib-telnet-client@1.0.1
updated 1 package and audited 1071 packages in 31.975s

51 packages are looking for funding
  run `npm fund` for details

found 7 vulnerabilities (3 low, 4 moderate)
  run `npm audit fix` to fix them, or `npm audit` for details

```

I made Progress, i had to add  
make and g++ to my yaml config file of the addon.  
(alpine packages [https://pkgs.alpinelinux.org/packages](https://pkgs.alpinelinux.org/packages))

Then i had to enter (because i couldn't build bcrpyt)  
`npm i request`  
([https://github.com/kelektiv/node.bcrypt.js/issues/664#issuecomment-430860141](https://github.com/kelektiv/node.bcrypt.js/issues/664#issuecomment-430860141))

Then i was able to run  
`npm install bcrypt@5.0.0`

and after that  
`npm install node-red-contrib-telnet-client`

but it was missing in the ui and also not there after restarting the container. so i tried the same command as seen in the ui.

`npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-telnet-client@1.0.1`

And i have the problem i had before `npm i request`. (Some errors building)

...... When i install via terminal of the Docker container it's missing in the UI and when i install via the UI it's broken after deploy like in post before.

---

<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:** [5 November 2020 11:58 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/12 "2020-11-05T11:58:14Z")

</div>

You don't need to worry about the apparent errors, the fact that it ends with

```auto
+ node-red-contrib-telnet-client@1.0.1
updated 1 package and audited 1071 packages in 31.975s

```

means that it installed ok.  
[Edit] though it might be worth while removing it then re-installing, since that just updated a package that was already installed  
`npm remove node-red-contrib-telnet-client`

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [5 November 2020 13:06 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/13 "2020-11-05T13:06:24Z")

</div>

I still get the problem that the request and send node are missing after installation.

---

<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:** [5 November 2020 13:58 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/14 "2020-11-05T13:58:37Z")

</div>

Sorry, you will have to try via the author then, or find another route.

---

<div class="post-metadata">

**Author:** ![krk](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@krk](https://discourse.nodered.org/u/krk)\
**Post date:** [5 November 2020 17:11 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/15 "2020-11-05T17:11:52Z")

</div>

I was just trying to use this node as well and was having issues. I'm guessing it has to do with some references in some of the files. I see this error:

- Error: Cannot find module 'C:/Users/Charles-Andre.HOME/source/repos/telnet-engine/index.js' (line:4)
- Error: Cannot find module 'C:/Users/Charles-Andre.HOME/source/repos/telnet-engine/index.js' (line:4)

I'm not Charles-Andre, I'm guessing that is the author.

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [5 November 2020 17:54 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/16 "2020-11-05T17:54:47Z")

</div>

Yes I have a discussion with him in a GitHub repo [https://github.com/CABrouwers/node-red-contrib-synaccess-netbooter/issues/3](https://github.com/CABrouwers/node-red-contrib-synaccess-netbooter/issues/3)

---

<div class="post-metadata">

**Author:** ![krk](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@krk](https://discourse.nodered.org/u/krk)\
**Post date:** [5 November 2020 18:10 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/17 "2020-11-05T18:10:54Z")

</div>

I just opened an issue on his git-hub. [https://github.com/CABrouwers/node-red-contrib-telnet/issues/1](https://github.com/CABrouwers/node-red-contrib-telnet/issues/1)

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [7 November 2020 13:28 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/18 "2020-11-07T13:28:27Z")

</div>

The problem was a local File Path in 2 of the Nodes. This was fixed by the dev ([https://github.com/CABrouwers/node-red-contrib-telnet/issues/1](https://github.com/CABrouwers/node-red-contrib-telnet/issues/1)) also i had to request refresh in order to update it in Node Red.  
Problem solved.

And much thanks to @Colin for his very fast reply - i'm not used to this in forums.

---

<div class="post-metadata">

**Author:** ![CABrouwers](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@CABrouwers](https://discourse.nodered.org/u/CABrouwers)\
**Post date:** [7 November 2020 14:32 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/19 "2020-11-07T14:32:09Z")

</div>

I am the node owner. Thanks for your help. I have now created a Github repository and yesterday I uploaded a corrected version on npm (1.0.4). However, the version hasn`t been picked up by node-red yet. If anyone has an idea why, please let me know.

---

<div class="post-metadata">

**Author:** ![Nailik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nailik/32/31465_2.png) [@Nailik](https://discourse.nodered.org/u/Nailik)\
**Post date:** [7 November 2020 14:43 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/20 "2020-11-07T14:43:34Z")

</div>

> [@CABrouwers](#):
>
> ner. Thanks for your help. I have now created a Github repository and yesterday I uploaded a corrected

For me it has been picked up after i clicked "request refresh" and waited for a couple of minutes.

---

<div class="post-metadata">

**Author:** ![CABrouwers](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@CABrouwers](https://discourse.nodered.org/u/CABrouwers)\
**Post date:** [7 November 2020 14:52 UTC](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329/21 "2020-11-07T14:52:54Z")

</div>

I see the same, thanks,

[Next page](https://discourse.nodered.org/t/telnet-connection-node-missing-after-install/35329.md?page=2)
