Can not install new node


I am using raspberry pi based device using node-RED with it, I am trying to install " node-red-contrib-thingrest "
But it gives me error as attached in log :

can you give me some hint about the cause of this error?


Can you open a terminal and (important) go to your .node-red folder then run
npm install node-red-contrib-thingrest
and copy/paste the result here please (copy/paste please if possible rather than a screenshot). Use the </> button at the top of the forum text window when pasting it.
However I note that it has not been updated for four years so there is a good chance that it may have problems.

The error seems to indicate you have a connection problem talking to the internet in that it can't reach the npm server.