Can not install nodes

I have been using NodeRed for few years now. Hosting the NodeRed on a Pi.
Recently, I am trying to install some new nodes specifically node-red-contrib-noble-bluetooth
However, I am getting errors.( see below)
I have ssh into the PI and ping registry.npmjs.org and get ping responses.
So big perplexed.

I have installed, many nodes and never had a problem. So this is baffling

2022-01-12T14:51:07.768Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-noble-bluetooth@0.9.1
2022-01-12T14:51:28.084Z [err] npm
2022-01-12T14:51:28.088Z [err]
2022-01-12T14:51:28.088Z [err] ERR!
2022-01-12T14:51:28.089Z [err]
2022-01-12T14:51:28.089Z [err] code
2022-01-12T14:51:28.089Z [err] EHOSTUNREACH
2022-01-12T14:51:28.091Z [err] npm
2022-01-12T14:51:28.092Z [err]
2022-01-12T14:51:28.092Z [err] ERR!
2022-01-12T14:51:28.093Z [err]
2022-01-12T14:51:28.093Z [err] errno
2022-01-12T14:51:28.093Z [err] EHOSTUNREACH
2022-01-12T14:51:28.105Z [err] npm
2022-01-12T14:51:28.105Z [err] ERR! request to https://registry.npmjs.org/node-red-contrib-noble-bluetooth failed, reason: connect EHOSTUNREACH 104.16.24.35:443
2022-01-12T14:51:28.164Z [err]
2022-01-12T14:51:28.164Z [err] npm ERR! A complete log of this run can be found in:
2022-01-12T14:51:28.164Z [err] npm ERR! /home/pi/.npm/_logs/2022-01-12T14_51_28_112Z-debug.log
2022-01-12T14:51:28.173Z rc=1

It works ok for me. I think it must be a networking issue of some sort. Does if fail if you try again? Can you install other nodes? What version of npm are you using? What happens if you run, from the .node-red folder
npm install node-red-contrib-noble-bluetooth
Post the full output from that please, including the command line. When pasting it here use the </> button at the top of the forum entry window.

Hi Colin,
Somehow, it just stated to work again! No changes at all.
Anyhow, usually things always solve as soon as I send a forum help email. :grinning:

Thanks again!

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