Issue Installing Node Package on ctrlX Node-RED: ECONNREFUSED Error

I am experiencing an issue while attempting to install the tuya-led-node package on my ctrlX Node-RED environment. Below are the details of the error log:

2025-01-01T11:37:02.110Z Install : tuya-led-node 1.0.0

2024-12-11T16:18:19.260Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]

2024-12-11T16:18:20.037Z [err] npm warn config production Use --omit=dev instead.

2024-12-11T16:19:32.418Z [err] npm error code ECONNREFUSED

2024-12-11T16:19:32.419Z [err] npm error syscall connect

2024-12-11T16:19:32.419Z [err] npm error errno ECONNREFUSED

2024-12-11T16:19:32.440Z [err] npm error FetchError: request to https://registry.npmjs.org/tuya-led-node failed, reason: connect ECONNREFUSED 127.0.0.1:3128

2024-12-11T16:19:32.440Z [err] npm error at ClientRequest.<anonymous> (/snap/ctrlx-node-red/1272/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)

2024-12-11T16:19:32.440Z [err] npm error at ClientRequest.emit (node:events:519:28)

2024-12-11T16:19:32.440Z [err] npm error at destroy (node:http_client:880:13)

2024-12-11T16:19:32.440Z [err] npm error at onSocketNT (node:_http_client:900:5)

2024-12-11T16:19:32.440Z [err] npm error at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {

2024-12-11T16:19:32.440Z [err] npm error code: 'ECONNREFUSED',

2024-12-11T16:19:32.440Z [err] npm error errno: 'ECONNREFUSED',

2024-12-11T16:19:32.440Z [err] npm error syscall: 'connect',

2024-12-11T16:19:32.440Z [err] npm error address: '127.0.0.1',

2024-12-11T16:19:32.440Z [err] npm error port: 3128,

2024-12-11T16:19:32.440Z [err] npm error type: 'system',

2024-12-11T16:19:32.440Z [err] npm error requiredBy: '.'

2024-12-11T16:19:32.440Z [err] npm error }

2024-12-11T16:19:32.441Z [err] npm error

2024-12-11T16:19:32.441Z [err] npm error If you are behind a proxy, please make sure that the

2024-12-11T16:19:32.441Z [err] npm error 'proxy' config is set properly. See: 'npm help config'

2024-12-11T16:19:32.448Z [err]

2024-12-11T16:19:32.450Z [err] npm error A complete log of this run can be found in: /root/snap/ctrlx-node-red/1272/.npm/_logs/2024-12-11T16_18_19_773Z-debug-0.log

2024-12-11T16:19:32.475Z rc=1

Best reply by Sgilk

khoa ,

Is this a ctrlX CORE Virtual or a physical device? Please review the related How-To articles on establishing an internet connection on your CORE.

https://community.boschrexroth.com/ctrlx-automation-how-tos-qmglrz33/post/connect-real-ctrlx-core-via-proxy-to-the-internet-mOZAjqbwQLHKfNf

https://community.boschrexroth.com/ctrlx-automation-how-tos-qmglrz33/post/connect-ctrlx-corevirtual-to-the-internet-3Ib7SbmEBXHmKIx

You can verify your network connection under Settings->Network Diagnostics ->Check Connection before attempting to install the Node-RED pallets.

View original
Screenshot 2025-01-01 185145.png
237.02KB
4 replies