Can't install node-red-contrib-chart-image

As i wrote in the title, i have installed from the pallet lots of diffent thing but just this node is giving me problems. I have seen some solutions online however i'm using this particular application (ctrlx) where i have just nodered/ the manage pallete and i can't seem to access any console or anyting similar, this is the log when i try to install it, thanks you ( i had to had spaces in some links to be able to make this post):

-----------------------------------------------------------
2024-02-12T17:04:30.748Z Install : node-red-contrib-chart-image-1.2.0.tgz

2024-02-12T17:04:30.110Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict /var/snap/ctrlx-node-red/732/solutions/activeConfiguration/node-RED/nodes/node-red-contrib-chart-image-1.2.0.tgz
2024-02-12T17:04:31.484Z [err] npm
2024-02-12T17:04:31.486Z [err]  WARN config production Use `--omit=dev` instead.
2024-02-12T17:04:32.132Z [err] (node:2786) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2024-02-12T17:04:32.132Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2024-02-12T17:05:42.397Z [err] npm ERR! code EAI_AGAIN
2024-02-12T17:05:42.398Z [err] npm
2024-02-12T17:05:42.398Z [err]  
2024-02-12T17:05:42.398Z [err] ERR! syscall getaddrinfo
2024-02-12T17:05:42.398Z [err] npm ERR! errno EAI_AGAIN
2024-02-12T17:05:42.402Z [err] npm ERR! request to h ttps://registry.npmjs.org/chart. js failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2024-02-12T17:05:42.411Z [err] 
2024-02-12T17:05:42.411Z [err] npm ERR!
2024-02-12T17:05:42.411Z [err]  A complete log of this run can be found in:
2024-02-12T17:05:42.411Z [err] npm ERR!     /root/snap/ctrlx-node-red/732/.npm/_logs/2024-02-12T17_04_31_392Z-debug-0.log
2024-02-12T17:05:42.428Z rc=1

-----------------------------------------------------------
2024-02-12T17:08:47.082Z Install : node-red-contrib-chart-image-1.2.0.tgz

2024-02-12T17:08:46.339Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict /var/snap/ctrlx-node-red/732/solutions/activeConfiguration/node-RED/nodes/node-red-contrib-chart-image-1.2.0.tgz
2024-02-12T17:08:47.832Z [err] npm
2024-02-12T17:08:47.836Z [err]  WARN config production Use `--omit=dev` instead.
2024-02-12T17:08:48.494Z [err] (node:2835) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2024-02-12T17:08:48.494Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2024-02-12T17:09:58.683Z [err] npm ERR! code EAI_AGAIN
2024-02-12T17:09:58.684Z [err] npm
2024-02-12T17:09:58.684Z [err]  ERR! syscall getaddrinfo
2024-02-12T17:09:58.684Z [err] npm ERR! errno EAI_AGAIN
2024-02-12T17:09:58.688Z [err] npm ERR! request to h ttps://registry.npmjs.org/chart. js failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2024-02-12T17:09:58.697Z [err] 
2024-02-12T17:09:58.698Z [err] npm ERR! A complete log of this run can be found in:
2024-02-12T17:09:58.698Z [err] npm ERR!     /root/snap/ctrlx-node-red/732/.npm/_logs/2024-02-12T17_08_47_671Z-debug-0.log
2024-02-12T17:09:58.715Z rc=1.

Is this a Bosch CTRLx device?

If yes, you will need to permit the device access to the internet so it can download other parts required.

(for others reading this: Your browser may have internet access but that does not mean the Node-RED instance you are looking at does)

By the looks of this, you tried uploading a tgz - in order to bypass the internet requirement - am I reading that right?


You should wrap code and logs in a code block (i did that for you)

Thanks you a lot for your answer, so in order: yeah i have to install it on a real bosch ctrlx core device, unfortunatly when i tried i didn' t manage to install it so, now i'm trying it with a ctrlxcore virtual because i will not have access to the real device for a couple of days so i was making some "local test" but it isn't working as well. Yeah i tried to install directly the node-red-chart-image both directly from the list of available modules ( so i guess node red has internet access right?) and by uploading the .tgz file but it failed in both cases. how can i check if my Node-red instance has internet access? thanks you a lot.

That chart node has dependencies that need to be downloaded and installed in order to work (thats why it tried to grab them).

This may or may not work (it is supposed to bundle things for you).

On a computer WITH internet & NodeJS installed:

npx npm-bundle node-red-contrib-chart-image

It should finish after 1 or 2 minutes and say
image


Is the device physically connected to the internet? Does the ctrx have a default gateway set?
Like any hardware device you plug it in to a network and setup the IP/enable DHCP (or setup wifi). It may be there is a firewall or setting on the ctrlx device you need to adjust? It may be you are connected only via a (non-routed) switch. It could be many things - I dont know.