por lo tanto no quería ensuciar pero aquí está la salida
> gladys-server@ postinstall /home/jerome/git/gladys/server
> node ./cli/install_service_dependencies.js
2022-05-13T21:27:33+0200 <info>install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/bluetooth
prebuild-install info begin Versión de prebuild-install 5.3.5
prebuild-install info buscando prebuild en caché @ /home/jerome/.npm/_prebuilds/91abd0-usb-v1.6.3-node-v83-linux-x64.tar.gz
prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v83-linux-x64.tar.gz
prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v83-linux-x64.tar.gz
prebuild-install WARN install No se encontraron binarios precompilados (target=14.19.2 runtime=node arch=x64 libc= platform=linux)
../libusb/libusb/os/linux_udev.c:40:10: error fatal: libudev.h: No existe el archivo o el directorio
40 | #include <libudev.h>
| ^~~~~~~~~~~
compilación terminada.
make: *** [libusb.target.mk:150 : Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
gyp ERR! error de compilación
gyp ERR! pila Error: `make` falló con código de salida: 2
gyp ERR! pila en ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! pila en ChildProcess.emit (events.js:400:28)
gyp ERR! pila en Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! Sistema Linux 5.10.0-14-amd64
gyp ERR! comando "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jerome/git/gladys/server/services/bluetooth/node_modules/usb
gyp ERR! node -v v14.19.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! no está bien
npm AVISO gladys-bluetooth@1.0.0 No hay campo de repositorio.
npm AVISO gladys-bluetooth@1.0.0 No hay campo de licencia.
npm AVISO OPCIONAL SALTANDO DEPENDENCIA OPCIONAL: usb@1.6.3 (node_modules/usb):
npm AVISO OPCIONAL SALTANDO DEPENDENCIA OPCIONAL: usb@1.6.3 install: `prebuild-install --verbose || node-gyp rebuild`
npm AVISO OPCIONAL SALTANDO DEPENDENCIA OPCIONAL: Código de salida 1
2022-05-13T21:27:37+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/caldav
npm AVISO gladys-caldav@ No hay descripción
npm AVISO gladys-caldav@ No hay campo de repositorio.
npm AVISO gladys-caldav@ No hay campo de licencia.
2022-05-13T21:27:38+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/ewelink
npm AVISO gladys-ewelink@1.0.1 No hay descripción
npm AVISO gladys-ewelink@1.0.1 No hay campo de repositorio.
npm AVISO gladys-ewelink@1.0.1 No hay campo de licencia.
2022-05-13T21:27:39+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/example
npm AVISO gladys-example@ No hay campo de repositorio.
npm AVISO gladys-example@ No hay campo de licencia.
2022-05-13T21:27:40+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/google-actions
npm AVISO google-actions@1.0.0 No hay descripción
npm AVISO google-actions@1.0.0 No hay campo de repositorio.
npm AVISO google-actions@1.0.0 No hay campo de licencia.
2022-05-13T21:27:40+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/mqtt
npm AVISO gladys-mqtt@ No hay descripción
npm AVISO gladys-mqtt@ No hay campo de repositorio.
npm AVISO gladys-mqtt@ No hay campo de licencia.
2022-05-13T21:27:42+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/openweather
npm AVISO gladys-openweather@ No hay descripción
npm AVISO gladys-openweather@ No hay campo de repositorio.
npm AVISO gladys-openweather@ No hay campo de licencia.
2022-05-13T21:27:43+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/philips-hue
npm AVISO gladys-hue@1.0.0 No hay descripción
npm AVISO gladys-hue@1.0.0 No hay campo de repositorio.
npm AVISO gladys-hue@1.0.0 No hay campo de licencia.
2022-05-13T21:27:43+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/rtsp-camera
npm AVISO gladys-rtsp-camera@1.0.0 No hay descripción
npm AVISO gladys-rtsp-camera@1.0.0 No hay campo de repositorio.
npm AVISO gladys-rtsp-camera@1.0.0 No hay campo de licencia.
2022-05-13T21:27:44+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/tasmota
npm AVISO gladys-tasmota@1.0.0 No hay descripción
npm AVISO gladys-tasmota@1.0.0 No hay campo de repositorio.
npm AVISO gladys-tasmota@1.0.0 No hay campo de licencia.
2022-05-13T21:27:45+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/telegram
npm AVISO gladys-telegram@ No hay descripción
npm AVISO gladys-telegram@ No hay campo de repositorio.
npm AVISO gladys-telegram@ No hay campo de licencia.
2022-05-13T21:27:46+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/tp-link
npm AVISO gladys-tplink@1.0.0 No hay descripción
npm AVISO gladys-tplink@1.0.0 No hay campo de repositorio.
npm AVISO gladys-tplink@1.0.0 No hay campo de licencia.
2022-05-13T21:27:47+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/usb
npm AVISO gladys-usb@ No hay descripción
npm AVISO gladys-usb@ No hay campo de repositorio.
npm AVISO gladys-usb@ No hay campo de licencia.
2022-05-13T21:27:48+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/xiaomi
npm AVISO gladys-xiaomi@ No hay descripción
npm AVISO gladys-xiaomi@ No hay campo de repositorio.
npm AVISO gladys-xiaomi@ No hay campo de licencia.
2022-05-13T21:27:49+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/zigbee2mqtt
npm AVISO gladys-zigbee2mqtt@1.0.0 No hay descripción
npm AVISO gladys-zigbee2mqtt@1.0.0 No hay campo de repositorio.
npm AVISO gladys-zigbee2mqtt@1.0.0 No hay campo de licencia.
2022-05-13T21:27:50+0200 <info> install_service_dependencies.js:21 () Instalando dependencias en la carpeta /home/jerome/git/gladys/server/services/zwave
grep: /usr/*/include/value_classes: Aucun fichier ou dossier de ce type
gyp: Call to 'grep -r GetTypeNameFromEnum /usr/*/include/value_classes | wc -l' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! error de configuración
gyp ERR! pila Error: `gyp` falló con código de salida: 1
gyp ERR! pila en ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! pila en ChildProcess.emit (events.js:400:28)
gyp ERR! pila en Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! Sistema Linux 5.10.0-14-amd64
gyp ERR! comando "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jerome/git/gladys/server/services/zwave/node_modules/openzwave-shared
gyp ERR! node -v v14.19.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! no está bien
npm AVISO gladys-zwave@ No hay descripción
npm AVISO gladys-zwave@ No hay campo de repositorio.
npm AVISO gladys-zwave@ No hay campo de licencia.
npm ERR! código ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.6.2 install: `node-gyp rebuild`
npm ERR! Código de salida 1
npm ERR!
npm ERR! Falló en el script de instalación de openzwave-shared@1.6.2.
npm ERR! Esto probablemente no es un problema con npm. Es probable que haya más salida de registro adicional arriba.
npm ERR! Se puede encontrar un registro completo de esta ejecución en:
npm ERR! /home/jerome/.npm/_logs/2022-05-13T19_27_53_017Z-debug.log
2022-05-13T21:27:53+0200 <warn> install_service_dependencies.js:27 () Error: Falló el comando: cd /home/jerome/git/gladys/server/services/zwave && npm install --unsafe-perm
grep: /usr/*/include/value_classes: Aucun fichier ou dossier de ce type
gyp: Call to 'grep -r GetTypeNameFromEnum /usr/*/include/value_classes | wc -l' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! error de configuración
gyp ERR! pila Error: `gyp` falló con código de salida: 1
gyp ERR! pila en ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! pila en ChildProcess.emit (events.js:400:28)
gyp ERR! pila en Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! Sistema Linux 5.10.0-14-amd64
gyp ERR! comando "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jerome/git/gladys/server/services/zwave/node_modules/openzwave-shared
gyp ERR! node -v v14.19.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! no está bien
npm AVISO gladys-zwave@ No hay descripción
npm AVISO gladys-zwave@ No hay campo de repositorio.
npm AVISO gladys-zwave@ No hay campo de licencia.
npm ERR! código ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.6.2 install: `node-gyp rebuild`
npm ERR! Salida de estado 1
npm ERR!
npm ERR! Error en el script de instalación de openzwave-shared@1.6.2.
npm ERR! Probablemente no es un problema con npm. Es probable que haya más salida de registro arriba.
npm ERR! Un registro completo de esta ejecución se puede encontrar en:
npm ERR! /home/jerome/.npm/_logs/2022-05-13T19_27_53_017Z-debug.log
at checkExecSyncError (child_process.js:790:11)
at execSync (child_process.js:863:15)
at /home/jerome/git/gladys/server/cli/install_service_dependencies.js:23:5
at Array.forEach (<anonymous>)
en Object.<anonymous> (/home/jerome/git/gladys/server/cli/install_service_dependencies.js:20:13)
en Module._compile (internal/modules/cjs/loader.js:1085:14)
en Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
en Module.load (internal/modules/cjs/loader.js:950:32)
en Function.Module._load (internal/modules/cjs/loader.js:790:12)
en Function.executeUserEntryPoint [como runMain] (internal/modules/run_main.js:75:12) {
status: 1,
signal: null,
output: [
null,
<Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 36 2e 32 20 70 72 65 69 6e 73 74 61 6c 6c 20 2f 68 6f 6d 65 2f 6a 65 72 6f 6d 65 2f ... 220 bytes más>,
<Buffer 67 72 65 70 3a 20 2f 75 73 72 2f 2a 2f 69 6e 63 6c 75 64 65 2f 76 61 6c 75 65 5f 63 6c 61 73 73 65 73 3a 20 41 75 63 75 6e 20 66 69 63 68 69 65 72 20 ... 1382 bytes más>
],
pid: 386988,
stdout: <Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 36 2e 32 20 70 72 65 69 6e 73 74 61 6c 6c 20 2f 68 6f 6d 65 2f 6a 65 72 6f 6d 65 2f ... 220 bytes más>,
stderr: <Buffer 67 72 65 70 3a 20 2f 75 73 72 2f 2a 2f 69 6e 63 6c 75 64 65 2f 76 61 6c 75 65 5f 63 6c 61 73 73 65 73 3a 20 41 75 63 75 6e 20 66 69 63 68 69 65 72 20 ... 1382 bytes más>
}
/home/jerome/git/gladys/server/cli/install_service_dependencies.js:31
throw e;
^
Error: El comando falló: cd /home/jerome/git/gladys/server/services/zwave && npm install --unsafe-perm
grep: /usr/*/include/value_classes: No existe el archivo o directorio
gyp: Llamada a 'grep -r GetTypeNameFromEnum /usr/*/include/value_classes | wc -l' devolvió el estado de salida 0 mientras se intentaba cargar binding.gyp
gyp ERR! error de configuración
gyp ERR! stack Error: `gyp` falló con el código de salida: 1
gyp ERR! stack en ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack en ChildProcess.emit (events.js:400:28)
gyp ERR! stack en Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! Sistema Linux 5.10.0-14-amd64
gyp ERR! comando "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jerome/git/gladys/server/services/zwave/node_modules/openzwave-shared
gyp ERR! node -v v14.19.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! no está bien
npm AVISO gladys-zwave@ No hay descripción
npm AVISO gladys-zwave@ No hay campo de repositorio.
npm AVISO gladys-zwave@ No hay campo de licencia.
npm ERR! código ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.6.2 install: `node-gyp rebuild`
npm ERR! Salida de estado 1
npm ERR!
npm ERR! Error en el script de instalación de openzwave-shared@1.6.2.
npm ERR! Esto probablemente no es un problema con npm. Es probable que haya más salida de registro anterior.
npm ERR! Se puede encontrar un registro completo de esta ejecución en:
npm ERR! /home/jerome/.npm/_logs/2022-05-13T19_27_53_017Z-debug.log
en checkExecSyncError (child_process.js:790:11)
en execSync (child_process.js:863:15)
en /home/jerome/git/gladys/server/cli/install_service_dependencies.js:23:5
en Array.forEach (<anonymous>)
en Object.<anonymous> (/home/jerome/git/gladys/server/cli/install_service_dependencies.js:20:13)
en Module._compile (internal/modules/cjs/loader.js:1085:14)
en Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
en Module.load (internal/modules/cjs/loader.js:950:32)
en Function.Module._load (internal/modules/cjs/loader.js:790:12)
en Function.executeUserEntryPoint [como runMain] (internal/modules/run_main.js:75:12) {
status: 1,
signal: null,
output: [
null,
Buffer(270) [Uint8Array] [
10, 62, 32, 111, 112, 101, 110, 122, 119, 97, 118, 101,
45, 115, 104, 97, 114, 101, 100, 64, 49, 46, 54, 46,
50, 32, 112, 114, 101, 105, 110, 115, 116, 97, 108, 108,
32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 111, 109,
101, 47, 103, 105, 116, 47, 103, 108, 97, 100, 121, 115,
47, 115, 101, 114, 118, 101, 114, 47, 115, 101, 114, 118,
105, 99, 101, 115, 47, 122, 119, 97, 118, 101, 47, 110,
111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47,
111, 112, 101, 110,
... 170 elementos más
],
Buffer(1432) [Uint8Array] [
103, 114, 101, 112, 58, 32, 47, 117, 115, 114, 47, 42,
47, 105, 110, 99, 108, 117, 100, 101, 47, 118, 97, 108,
117, 101, 95, 99, 108, 97, 115, 115, 101, 115, 58, 32,
65, 117, 99, 117, 110, 32, 102, 105, 99, 104, 105, 101,
114, 32, 111, 117, 32, 100, 111, 115, 115, 105, 101, 114,
32, 100, 101, 32, 99, 101, 32, 116, 121, 112, 101, 10,
103, 121, 112, 58, 32, 67, 97, 108, 108, 32, 116, 111,
32, 39, 103, 114, 101, 112, 32, 45, 114, 32, 71, 101,
116, 84, 121, 112,
... 1332 elementos más
]
],
pid: 386988,
stdout: Buffer(270) [Uint8Array] [
10, 62, 32, 111, 112, 101, 110, 122, 119, 97, 118, 101,
45, 115, 104, 97, 114, 101, 100, 64, 49, 46, 54, 46,
50, 32, 112, 114, 101, 105, 110, 115, 116, 97, 108, 108,
32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 111, 109,
101, 47, 103, 105, 116, 47, 103, 108, 97, 100, 121, 115,
47, 115, 101, 114, 118, 101, 114, 47, 115, 101, 114, 118,
105, 99, 101, 115, 47, 122, 119, 97, 118, 101, 47, 110,
111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47,
111, 112, 101, 110,
... 170 elementos más
],
stderr: Buffer(1432) [Uint8Array] [
103, 114, 101, 112, 58, 32, 47, 117, 115, 114, 47, 42,
47, 105, 110, 99, 108, 117, 100, 101, 47, 118, 97, 108,
117, 101, 95, 99, 108, 97, 115, 115, 101, 115, 58, 32,
65, 117, 99, 117, 110, 32, 102, 105, 99, 104, 105, 101,
114, 32, 111, 117, 32, 100, 111, 115, 115, 105, 101, 114,
32, 100, 101, 32, 99, 101, 32, 116, 121, 112, 101, 10,
103, 121, 112, 58, 32, 67, 97, 108, 108, 32, 116, 111,
32, 39, 103, 114, 101, 112, 32, 45, 114, 32, 71, 101,
116, 84, 121, 112,
... 1332 elementos más
]
}
npm ERR! código ELIFECYCLE
npm ERR! errno 1
npm ERR! gladys-server@ postinstall: `node ./cli/install_service_dependencies.js`
npm ERR! Salida de estado 1
npm ERR!
npm ERR! Error en el script de postinstall de gladys-server.
npm ERR! Esto probablemente no es un problema con npm. Es probable que haya más salida de registro anterior.
npm ERR! Se puede encontrar un registro completo de esta ejecución en:
npm ERR! /home/jerome/.npm/_logs/2022-05-13T19_27_53_059Z-debug.log
et aquí está el archivo de registro (lo siento, no sé cómo adjuntar un archivo aquí
347 timing stage:rollbackFailedOptional Completado en 33ms
348 silly install runPostinstallTopLevelLifecycles
349 silly build gladys-server@
350 info linkStuff gladys-server@
351 silly linkStuff gladys-server@ tiene /home/jerome/git/gladys como su node_modules principal
352 silly install gladys-server@
353 info lifecycle gladys-server@~install: gladys-server@
354 silly postinstall gladys-server@
355 info lifecycle gladys-server@~postinstall: gladys-server@
356 verbose lifecycle gladys-server@~postinstall: unsafe-perm en lifecycle true
357 verbose lifecycle gladys-server@~postinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jerome/git/gladys/server/node_modules/.bin:/sbin:/usr/sbin:/usr/local/sbin:/home/jerome/.local/bin:/home/jerome/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
358 verbose lifecycle gladys-server@~postinstall: CWD: /home/jerome/git/gladys/server
359 silly lifecycle gladys-server@~postinstall: Args: [ '-c', 'node ./cli/install_service_dependencies.js' ]
360 silly lifecycle gladys-server@~postinstall: Returned: code: 1 signal: null
361 info lifecycle gladys-server@~postinstall: No se pudo ejecutar el script postinstall
362 verbose stack Error: gladys-server@ postinstall: `node ./cli/install_service_dependencies.js`
362 verbose stack Exit status 1
362 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
362 verbose stack at EventEmitter.emit (events.js:400:28)
362 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
362 verbose stack at ChildProcess.emit (events.js:400:28)
362 verbose stack at maybeClose (internal/child_process.js:1088:16)
362 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
363 verbose pkgid gladys-server@
364 verbose cwd /home/jerome/git/gladys/server
365 verbose Linux 5.10.0-14-amd64
366 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
367 verbose node v14.19.2
368 verbose npm v6.14.17
369 error code ELIFECYCLE
370 error errno 1
371 error gladys-server@ postinstall: `node ./cli/install_service_dependencies.js`
371 error Exit status 1
372 error Falló en el script postinstall de gladys-server@.
372 error Esto probablemente no es un problema con npm. Es probable que haya salida de registro adicional arriba.
373 verbose exit [ 1, true ]