Hola a todos,
Tengo el problema de que me dá error cuando instalo nuevos nodos o cuando actualizo los ya existentes. Llevo 15 dias buscando alguna solución, pero por mala suerte o falta de conocimientos no encuentro nada.
Mi configuración es:
Raspberry Pi 4B con Home Assistant en modo supervisor instalado como sistema operativo principal (no docker)
¿Podría alguien ayudarme?. No sé como ha surgido este problema, porque antes si que podía actualiar los nodos, pero algo he tenido que hacer que ha dejado de admitir actualizaciones o instalaciones nuevas de nodos.
El log que me suelta cuando intento instalar/actualizar nodos es el siguiente:
2023-01-28T09:47:33.915Z Install : node-red-contrib-home-assistant-websocket 0.48.0
2023-01-28T09:47:26.479Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2023-01-28T09:47:28.235Z [err] npm
2023-01-28T09:47:28.237Z [err] WARN
2023-01-28T09:47:28.238Z [err] config production Use `--omit=dev` instead.
2023-01-28T09:48:40.465Z [err] npm
2023-01-28T09:48:40.465Z [err] ERR! code EACCES
2023-01-28T09:48:40.466Z [err] npm
2023-01-28T09:48:40.466Z [err] ERR!
2023-01-28T09:48:40.467Z [err] syscall connect
2023-01-28T09:48:40.467Z [err] npm ERR!
2023-01-28T09:48:40.467Z [err]
2023-01-28T09:48:40.468Z [err] errno EACCES
2023-01-28T09:48:40.484Z [err] npm ERR!
2023-01-28T09:48:40.485Z [err] FetchError: request to https://registry.npmjs.org/node-red-con ... -websocket failed, reason: connect EACCES 2606:4700::6810443
2023-01-28T09:48:40.485Z [err] npm ERR! at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
2023-01-28T09:48:40.485Z [err] npm ERR! at ClientRequest.emit (node:events:513:28)
2023-01-28T09:48:40.485Z [err] npm ERR!
2023-01-28T09:48:40.485Z [err] at TLSSocket.socketErrorListener (node:_http_client:494:9)
2023-01-28T09:48:40.485Z [err] npm ERR! at TLSSocket.emit (node:events:525:35)
2023-01-28T09:48:40.485Z [err] npm ERR!
2023-01-28T09:48:40.486Z [err] at emitErrorNT (node:internal/streams/destroy:151:8)
2023-01-28T09:48:40.486Z [err] npm ERR!
2023-01-28T09:48:40.486Z [err] at emitErrorCloseNT (node:internal/streams/destroy:116:3)
2023-01-28T09:48:40.486Z [err] npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-01-28T09:48:40.486Z [err] npm ERR! FetchError: request to https://registry.npmjs.org/node-red-con ... -websocket failed, reason: connect EACCES 2606:4700::6810443
2023-01-28T09:48:40.486Z [err] npm ERR!
2023-01-28T09:48:40.486Z [err] at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
2023-01-28T09:48:40.486Z [err] npm ERR! at ClientRequest.emit (node:events:513:28)
2023-01-28T09:48:40.486Z [err] npm ERR! at TLSSocket.socketErrorListener (node:_http_client:494:9)
2023-01-28T09:48:40.486Z [err] npm ERR! at TLSSocket.emit (node:events:525:35)
2023-01-28T09:48:40.486Z [err] npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8)
2023-01-28T09:48:40.486Z [err] npm
2023-01-28T09:48:40.487Z [err] ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3)
2023-01-28T09:48:40.487Z [err] npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2023-01-28T09:48:40.487Z [err] npm ERR! code: 'EACCES',
2023-01-28T09:48:40.487Z [err] npm ERR!
2023-01-28T09:48:40.487Z [err] errno: 'EACCES',
2023-01-28T09:48:40.487Z [err] npm ERR! syscall: 'connect',
2023-01-28T09:48:40.487Z [err] npm ERR!
2023-01-28T09:48:40.487Z [err] address: '2606:4700::6810:1a23',
2023-01-28T09:48:40.487Z [err] npm ERR! port: 443,
2023-01-28T09:48:40.487Z [err] npm
2023-01-28T09:48:40.487Z [err] ERR! type: 'system',
2023-01-28T09:48:40.487Z [err] npm ERR! requiredBy: '.'
2023-01-28T09:48:40.487Z [err] npm
2023-01-28T09:48:40.487Z [err] ERR! }
2023-01-28T09:48:40.488Z [err] npm ERR!
2023-01-28T09:48:40.488Z [err] npm ERR! The operation was rejected by your operating system.
2023-01-28T09:48:40.488Z [err] npm ERR!
2023-01-28T09:48:40.488Z [err] It is likely you do not have the permissions to access this file as the current user
2023-01-28T09:48:40.488Z [err] npm ERR!
2023-01-28T09:48:40.488Z [err] npm
2023-01-28T09:48:40.488Z [err] ERR! If you believe this might be a permissions issue, please double-check the
2023-01-28T09:48:40.488Z [err] npm ERR! permissions of the file and its containing directories, or try running
2023-01-28T09:48:40.488Z [err] npm
2023-01-28T09:48:40.488Z [err] ERR! the command again as root/Administrator.
2023-01-28T09:48:40.493Z [err]
2023-01-28T09:48:40.494Z [err] npm ERR! A complete log of this run can be found in:
2023-01-28T09:48:40.494Z [err] npm ERR! /root/.npm/_logs/2023-01-28T09_47_28_114Z-debug-0.log
2023-01-28T09:48:40.522Z rc=1
Mi nivel de conocimientos es bastante bajo por eso agradecería paciencia conmigo. Me estoy esforzando al máximo para, desde cero, poder hacer funcionar todo este sistema.
Gracias por adelantado.
Error al actualizar o instalar nodos en node-red
¿Estas pensando en poner Home Assistant pero quieres aclarar dudas antes de empezar? Aquí te ayudamos a solucionarlas
Volver a “Dudas sobre Home Assistant”
Ir a
- General
- ↳ Anuncios de Domótica En Casa
- ↳ Dudas/Sugerencias de la Web
- Home Assistant
- ↳ Dudas sobre Home Assistant
- ↳ Problemas con Home Assistant
- ↳ Aportes/Tutoriales de Home Assistant
- Google Home
- ↳ Dudas sobre Google Home
- ↳ Problemas con Google Home
- ↳ Aportes/Tutoriales de Google Home
- Alexa
- ↳ Dudas sobre Alexa
- ↳ Problemas con Alexa
- ↳ Aportes/Tutoriales de Alexa
- Mi Home
- ↳ Dudas sobre Mi Home
- ↳ Problemas con Mi Home
- ↳ Aportes/Tutoriales de Mi Home
- Shelly
- ↳ Dudas sobre Shelly
- ↳ Problemas con Shelly
- ↳ Aportes/Tutoriales con Shelly
- Smart Life / Tuya
- ↳ Dudas sobre Smart Life / Tuya
- ↳ Problemas con Smart Life / Tuya
- ↳ Aportes/Tutoriales de Smart Life
- Sonoff / eWeLink
- ↳ Dudas sobre Sonoff / eWelink
- ↳ Problemas con Sonoff / eWelink
- ↳ Aportes/Tutoriales de Sonoff / eWelink
- Broadlink
- ↳ Dudas sobre Broadlink
- ↳ Problemas con Broadlink
- ↳ Aportes/Tutoriales de Broadlink
- OpenHab
- ↳ Dudas sobre OpenHab
- ↳ Problemas con OpenHab
- ↳ Aportes/Tutoriales de OpenHab
- DIY / Tutoriales
- ↳ Tutoriales
- Otros Sistemas Smart Home
- ↳ Todo lo relacionados con otros sistemas
- Hardware
- ↳ Iluminación
- ↳ Sensores
- ↳ Enchufes inteligentes
- ↳ Interruptores
- ↳ ESP32
- ↳ ESP8266
- ↳ Cámaras
- ↳ Otros