hobbyquaker / node-red-contrib-lgtv

Node-RED Nodes to control LG webOS Smart TVs :tv:
http://flows.nodered.org/node/node-red-contrib-lgtv
MIT License
59 stars 22 forks source link

Installation failed Node-RED #32

Open TorbenEC opened 3 years ago

TorbenEC commented 3 years ago

`---------------------------------------------------------- 2020-10-18T19:33:19.324Z Install : node-red-contrib-lgtv 1.1.0

2020-10-18T19:33:16.493Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-lgtv@1.1.0 2020-10-18T19:33:26.784Z [out] 2020-10-18T19:33:26.784Z [out] > bufferutil@4.0.1 install /config/node-red/node_modules/bufferutil 2020-10-18T19:33:26.784Z [out] > node-gyp-build 2020-10-18T19:33:26.784Z [out] 2020-10-18T19:33:29.055Z [err] gyp 2020-10-18T19:33:29.056Z [err]
2020-10-18T19:33:29.056Z [err] ERR! build error 2020-10-18T19:33:29.057Z [err] gyp 2020-10-18T19:33:29.057Z [err] ERR! stack 2020-10-18T19:33:29.058Z [err] Error: not found: make 2020-10-18T19:33:29.058Z [err] gyp ERR! 2020-10-18T19:33:29.058Z [err] stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2020-10-18T19:33:29.058Z [err] gyp ERR! 2020-10-18T19:33:29.058Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2020-10-18T19:33:29.058Z [err] gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2020-10-18T19:33:29.059Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2020-10-18T19:33:29.059Z [err] gyp 2020-10-18T19:33:29.059Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2020-10-18T19:33:29.059Z [err] gyp ERR! 2020-10-18T19:33:29.059Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2020-10-18T19:33:29.059Z [err] gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21) 2020-10-18T19:33:29.060Z [err] gyp 2020-10-18T19:33:29.060Z [err] ERR! System Linux 4.19.127-v7l 2020-10-18T19:33:29.060Z [err] gyp 2020-10-18T19:33:29.061Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-10-18T19:33:29.061Z [err] gyp ERR! cwd /config/node-red/node_modules/bufferutil 2020-10-18T19:33:29.061Z [err] gyp 2020-10-18T19:33:29.062Z [err] ERR! node -v 2020-10-18T19:33:29.062Z [err] v12.18.4 2020-10-18T19:33:29.062Z [err] gyp 2020-10-18T19:33:29.062Z [err] ERR! node-gyp -v v5.1.0 2020-10-18T19:33:29.062Z [err] gyp ERR! not ok 2020-10-18T19:33:29.542Z [err] npm 2020-10-18T19:33:29.543Z [err]
2020-10-18T19:33:29.543Z [err] WARN multiple-select@1.5.2 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. 2020-10-18T19:33:29.544Z [err] 2020-10-18T19:33:29.588Z [err] npm 2020-10-18T19:33:29.589Z [err] ERR! code ELIFECYCLE 2020-10-18T19:33:29.589Z [err] npm 2020-10-18T19:33:29.589Z [err] ERR! errno 2020-10-18T19:33:29.590Z [err] 1 2020-10-18T19:33:29.597Z [err] npm 2020-10-18T19:33:29.598Z [err] ERR! bufferutil@4.0.1 install: node-gyp-build 2020-10-18T19:33:29.598Z [err] npm ERR! Exit status 1 2020-10-18T19:33:29.598Z [err] npm 2020-10-18T19:33:29.598Z [err] ERR! 2020-10-18T19:33:29.598Z [err] npm ERR! 2020-10-18T19:33:29.598Z [err] Failed at the bufferutil@4.0.1 install script. 2020-10-18T19:33:29.598Z [err] npm 2020-10-18T19:33:29.598Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-10-18T19:33:29.619Z [err] 2020-10-18T19:33:29.619Z [err] npm ERR! A complete log of this run can be found in: 2020-10-18T19:33:29.620Z [err] npm 2020-10-18T19:33:29.620Z [err] ERR! /root/.npm/_logs/2020-10-18T19_33_29_605Z-debug.log 2020-10-18T19:33:29.638Z rc=1`

gmarquezp commented 3 years ago

You need to add make package to your installation

gmarquezp commented 3 years ago

I added make to the install, but then i have this error:

`2020-10-18T23:54:34.342Z Install : node-red-contrib-lgtv 1.1.0

2020-10-18T23:54:36.283Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-lgtv@1.1.0 2020-10-18T23:54:43.245Z [out] 2020-10-18T23:54:43.245Z [out] > bufferutil@4.0.1 install /config/node-red/node_modules/bufferutil 2020-10-18T23:54:43.245Z [out] > node-gyp-build 2020-10-18T23:54:43.245Z [out] 2020-10-18T23:54:45.296Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build' 2020-10-18T23:54:45.298Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o 2020-10-18T23:54:45.301Z [err] make: cc: No such file or directory 2020-10-18T23:54:45.301Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 127 2020-10-18T23:54:45.302Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build' 2020-10-18T23:54:45.306Z [err] gyp 2020-10-18T23:54:45.307Z [err]
2020-10-18T23:54:45.307Z [err] ERR! build error 2020-10-18T23:54:45.307Z [err]
2020-10-18T23:54:45.309Z [err] gyp 2020-10-18T23:54:45.309Z [err]
2020-10-18T23:54:45.309Z [err] ERR! stack 2020-10-18T23:54:45.309Z [err] Error: make failed with exit code: 2 2020-10-18T23:54:45.309Z [err] gyp ERR! 2020-10-18T23:54:45.310Z [err] stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) 2020-10-18T23:54:45.310Z [err] gyp ERR! 2020-10-18T23:54:45.310Z [err] stack at ChildProcess.emit (events.js:315:20) 2020-10-18T23:54:45.310Z [err] gyp ERR! 2020-10-18T23:54:45.310Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) 2020-10-18T23:54:45.311Z [err] gyp 2020-10-18T23:54:45.312Z [err] ERR! System Linux 4.19.127-v7l 2020-10-18T23:54:45.312Z [err] gyp 2020-10-18T23:54:45.312Z [err] ERR! 2020-10-18T23:54:45.312Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-10-18T23:54:45.312Z [err] gyp ERR! 2020-10-18T23:54:45.313Z [err] cwd /config/node-red/node_modules/bufferutil 2020-10-18T23:54:45.313Z [err] gyp ERR! 2020-10-18T23:54:45.313Z [err] node -v v12.18.3 2020-10-18T23:54:45.313Z [err] gyp ERR! 2020-10-18T23:54:45.313Z [err] node-gyp -v v5.1.0 2020-10-18T23:54:45.313Z [err] gyp ERR! not ok 2020-10-18T23:54:45.314Z [err]
2020-10-18T23:54:45.620Z [err] npm 2020-10-18T23:54:45.620Z [err] ERR! code ELIFECYCLE 2020-10-18T23:54:45.621Z [err] npm 2020-10-18T23:54:45.621Z [err] ERR! errno 1 2020-10-18T23:54:45.631Z [err] npm 2020-10-18T23:54:45.631Z [err] ERR! bufferutil@4.0.1 install: node-gyp-build 2020-10-18T23:54:45.631Z [err] npm ERR! 2020-10-18T23:54:45.631Z [err] Exit status 1 2020-10-18T23:54:45.631Z [err] npm 2020-10-18T23:54:45.631Z [err] ERR! 2020-10-18T23:54:45.631Z [err] npm 2020-10-18T23:54:45.632Z [err] ERR! Failed at the bufferutil@4.0.1 install script. 2020-10-18T23:54:45.632Z [err] npm 2020-10-18T23:54:45.632Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-10-18T23:54:45.649Z [err] 2020-10-18T23:54:45.649Z [err] npm ERR! 2020-10-18T23:54:45.650Z [err] A complete log of this run can be found in: 2020-10-18T23:54:45.650Z [err] npm ERR! 2020-10-18T23:54:45.650Z [err] /root/.npm/_logs/2020-10-18T23_54_45_636Z-debug.log 2020-10-18T23:54:45.662Z rc=1`

TorbenEC commented 3 years ago

I get the same error, after adding make package to my installation

agracey commented 3 years ago

What version of nodejs are you using? I'm wondering if it might be missing headers from a more recent release.

I can't tell if this package is actually maintained or not, but I'm having the same issue

gmarquezp commented 3 years ago

I am using the hassio add on 7.2.10 which uses nodejs=12.18.4-r0


From: Andrew Gracey notifications@github.com Sent: Sunday, November 22, 2020 11:29:01 PM To: hobbyquaker/node-red-contrib-lgtv node-red-contrib-lgtv@noreply.github.com Cc: Gonzalo Marquez gmarquezp@gmail.com; Comment comment@noreply.github.com Subject: Re: [hobbyquaker/node-red-contrib-lgtv] Installation failed Node-RED (#32)

What version of nodejs are you using? I'm wondering if it might be missing headers from a more recent release.

I can't tell if this package is actually maintained or not, but I'm having the same issue

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/hobbyquaker/node-red-contrib-lgtv/issues/32#issuecomment-731919901, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ37YRU75EITHOL6PN7PVCTSRHQI3ANCNFSM4SVJKY5Q.

bubugian commented 3 years ago

Unfortunately, same problem here on rpi4. Node-RED 7.2.10 HassOS 4.17 Supervisor Version 2020.11.0 Docker Version 19.03.12

Sys rel 0.118.1 O.S. 4.19.127-v7l , armv7l Python 3.8.6

2020-11-24T06:31:48.641Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-lgtv@1.1.0 2020-11-24T06:31:55.776Z [out] 2020-11-24T06:31:55.776Z [out] > bufferutil@4.0.2 install /config/node-red/node_modules/bufferutil 2020-11-24T06:31:55.776Z [out] > node-gyp-build 2020-11-24T06:31:55.776Z [out] 2020-11-24T06:31:57.831Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build' 2020-11-24T06:31:57.832Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o 2020-11-24T06:31:57.837Z [err] make: cc: No such file or directory 2020-11-24T06:31:57.837Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 127 2020-11-24T06:31:57.837Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build' 2020-11-24T06:31:57.840Z [err] gyp 2020-11-24T06:31:57.841Z [err]
2020-11-24T06:31:57.842Z [err] ERR! build error 2020-11-24T06:31:57.843Z [err] gyp 2020-11-24T06:31:57.843Z [err] ERR! 2020-11-24T06:31:57.843Z [err] stack 2020-11-24T06:31:57.843Z [err] Error: make failed with exit code: 2 2020-11-24T06:31:57.843Z [err] gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) 2020-11-24T06:31:57.843Z [err] gyp 2020-11-24T06:31:57.844Z [err] ERR! 2020-11-24T06:31:57.844Z [err] stack at ChildProcess.emit (events.js:315:20) 2020-11-24T06:31:57.844Z [err] gyp 2020-11-24T06:31:57.844Z [err] ERR! stack 2020-11-24T06:31:57.844Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) 2020-11-24T06:31:57.845Z [err] gyp 2020-11-24T06:31:57.845Z [err] ERR! System Linux 4.19.127-v7l 2020-11-24T06:31:57.845Z [err] gyp 2020-11-24T06:31:57.845Z [err] ERR! command 2020-11-24T06:31:57.845Z [err] "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-11-24T06:31:57.845Z [err] gyp 2020-11-24T06:31:57.845Z [err] ERR! 2020-11-24T06:31:57.845Z [err] cwd /config/node-red/node_modules/bufferutil 2020-11-24T06:31:57.846Z [err] gyp ERR! node -v 2020-11-24T06:31:57.846Z [err] v12.18.4 2020-11-24T06:31:57.846Z [err] gyp 2020-11-24T06:31:57.846Z [err] ERR! node-gyp -v v5.1.0 2020-11-24T06:31:57.846Z [err] gyp ERR! 2020-11-24T06:31:57.846Z [err] not ok 2020-11-24T06:31:58.160Z [err] npm 2020-11-24T06:31:58.161Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): 2020-11-24T06:31:58.161Z [err] npm WARN notsup 2020-11-24T06:31:58.161Z [err] SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2020-11-24T06:31:58.162Z [err] 2020-11-24T06:31:58.187Z [err] npm 2020-11-24T06:31:58.188Z [err] ERR! code ELIFECYCLE 2020-11-24T06:31:58.188Z [err] npm ERR! 2020-11-24T06:31:58.188Z [err] errno 1 2020-11-24T06:31:58.196Z [err] npm 2020-11-24T06:31:58.197Z [err] ERR! bufferutil@4.0.2 install: node-gyp-build 2020-11-24T06:31:58.197Z [err] npm ERR! 2020-11-24T06:31:58.197Z [err] Exit status 1 2020-11-24T06:31:58.197Z [err] npm 2020-11-24T06:31:58.197Z [err] ERR! 2020-11-24T06:31:58.197Z [err] npm 2020-11-24T06:31:58.197Z [err] ERR! 2020-11-24T06:31:58.197Z [err] Failed at the bufferutil@4.0.2 install script. 2020-11-24T06:31:58.197Z [err] npm ERR! 2020-11-24T06:31:58.198Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2020-11-24T06:31:58.216Z [err] 2020-11-24T06:31:58.216Z [err] npm ERR! A complete log of this run can be found in: 2020-11-24T06:31:58.216Z [err] npm ERR! 2020-11-24T06:31:58.217Z [err] /root/.npm/_logs/2020-11-24T06_31_58_204Z-debug.log 2020-11-24T06:31:58.228Z rc=1

Any ideas ? Ciao !

agracey commented 3 years ago

This is not my project but I'll try and debug this in the next few weeks since I've got a decent background in node.js. I think I just had an nvme fail on my "server" so I've got to figure that out first :(

What's especially weird to me is that you can install the package directly so it's something with how node-red does the plugin build.

agracey commented 3 years ago

I think it might actually just be an issue with not wanting to run as root. Try running node-red as a non-root user and installing the plugin

gmarquezp commented 3 years ago

I use Node Red on HASSIO, do you know how could i do that? I agree, the problem occurs while node-red tries to build the plugin.

El dom, 29 nov 2020 a las 13:24, Andrew Gracey (notifications@github.com) escribió:

I think it might actually just be an issue with not wanting to run as root. Try running node-red as a non-root user and installing the plugin

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hobbyquaker/node-red-contrib-lgtv/issues/32#issuecomment-735434895, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ37YRTH46EELH2CKDSHZH3SSKGU7ANCNFSM4SVJKY5Q .

-- Gonzalo Márquez Palacios gmarquezp@gmail.com Cel: 987540134

gmarquezp commented 3 years ago

I added make and gcc to the packages to be loaded at startup on HASSIO. (Previosly only make package added)

The error changed: 2020-11-29T21:51:13.943Z Install : node-red-contrib-lgtv 1.1.0

2020-11-29T21:51:14.243Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-lgtv@1.1.0 2020-11-29T21:51:21.284Z [out] 2020-11-29T21:51:21.284Z [out] > bufferutil@4.0.2 install /config/node-red/node_modules/bufferutil 2020-11-29T21:51:21.284Z [out] > node-gyp-build 2020-11-29T21:51:21.284Z [out] 2020-11-29T21:51:23.383Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build' 2020-11-29T21:51:23.384Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o 2020-11-29T21:51:23.430Z [err] ../src/bufferutil.c:2:10: fatal error: assert.h: No such file or directory 2020-11-29T21:51:23.430Z [err] 2 | #include 2020-11-29T21:51:23.430Z [err] | ^~~~~~ 2020-11-29T21:51:23.430Z [err] compilation terminated. 2020-11-29T21:51:23.436Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 1 2020-11-29T21:51:23.436Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build' 2020-11-29T21:51:23.439Z [err] gyp 2020-11-29T21:51:23.440Z [err]
2020-11-29T21:51:23.440Z [err] ERR! build error 2020-11-29T21:51:23.441Z [err] gyp 2020-11-29T21:51:23.441Z [err] ERR! 2020-11-29T21:51:23.441Z [err] stack Error: make failed with exit code: 2 2020-11-29T21:51:23.441Z [err] gyp 2020-11-29T21:51:23.442Z [err] ERR! stack 2020-11-29T21:51:23.442Z [err] at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) 2020-11-29T21:51:23.442Z [err] gyp 2020-11-29T21:51:23.442Z [err] ERR! stack at ChildProcess.emit (events.js:315:20) 2020-11-29T21:51:23.442Z [err] gyp ERR! 2020-11-29T21:51:23.443Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) 2020-11-29T21:51:23.444Z [err] gyp 2020-11-29T21:51:23.444Z [err] ERR! System Linux 4.19.127-v7l 2020-11-29T21:51:23.444Z [err] gyp 2020-11-29T21:51:23.444Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-11-29T21:51:23.445Z [err] gyp ERR! 2020-11-29T21:51:23.445Z [err] cwd /config/node-red/node_modules/bufferutil 2020-11-29T21:51:23.445Z [err] gyp ERR! node -v 2020-11-29T21:51:23.445Z [err] v12.18.4 2020-11-29T21:51:23.445Z [err] gyp ERR! 2020-11-29T21:51:23.445Z [err] node-gyp -v v5.1.0 2020-11-29T21:51:23.445Z [err] gyp 2020-11-29T21:51:23.446Z [err] ERR! not ok 2020-11-29T21:51:23.762Z [err] npm 2020-11-29T21:51:23.763Z [err] ERR! code ELIFECYCLE 2020-11-29T21:51:23.763Z [err] npm 2020-11-29T21:51:23.763Z [err] ERR! errno 1 2020-11-29T21:51:23.776Z [err] npm 2020-11-29T21:51:23.776Z [err] ERR! bufferutil@4.0.2 install: node-gyp-build 2020-11-29T21:51:23.776Z [err] npm ERR! 2020-11-29T21:51:23.776Z [err] Exit status 1 2020-11-29T21:51:23.776Z [err] npm ERR! 2020-11-29T21:51:23.777Z [err]
2020-11-29T21:51:23.777Z [err] npm ERR! Failed at the bufferutil@4.0.2 install script. 2020-11-29T21:51:23.777Z [err] npm 2020-11-29T21:51:23.777Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-11-29T21:51:23.796Z [err] 2020-11-29T21:51:23.797Z [err] npm ERR! A complete log of this run can be found in: 2020-11-29T21:51:23.797Z [err] npm ERR! /root/.npm/_logs/2020-11-29T21_51_23_782Z-debug.log 2020-11-29T21:51:23.826Z rc=1

gmarquezp commented 3 years ago

FIX found: add this packages to the configuration file:

system_packages:
  - make
  - gcc
  - g++
  - libc-dev
bubugian commented 3 years ago

gmarquezp, thanks very much for coming to us with a solution ! You're great.

Unfortunately there's nothing to do for me: I get an error with g++ and also for libc-dev

with: system_packages:

I get: ############################################################## [cont-init.d] node-red.sh: exited 0. [cont-init.d] user.sh: executing... fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/main] v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community] v20200917-4644-g586b7d7e26 [http://dl-cdn.alpinelinux.org/alpine/edge/main] v20200917-4640-g95c248a39e [http://dl-cdn.alpinelinux.org/alpine/edge/community] v20200917-4647-g3049a43866 [http://dl-cdn.alpinelinux.org/alpine/edge/testing] OK: 29240 distinct packages available (1/1) Installing make (4.3-r0) Executing busybox-1.31.1-r19.trigger OK: 124 MiB in 52 packages (1/9) Installing binutils (2.34-r1) (2/9) Installing gmp (6.2.0-r0) (3/9) Installing isl (0.18-r0) (4/9) Installing libgomp (9.3.0-r2) (5/9) Installing libatomic (9.3.0-r2) (6/9) Installing libgphobos (9.3.0-r2) (7/9) Installing mpfr4 (4.0.2-r4) (8/9) Installing mpc1 (1.1.0-r1) (9/9) Installing gcc (9.3.0-r2) Executing busybox-1.31.1-r19.trigger OK: 192 MiB in 61 packages ERROR: unsatisfiable constraints: musl-1.1.24-r9: breaks: musl-dev-1.1.24-r10[musl=1.1.24-r10] satisfies: world[musl=1.1.24-r9] apk-tools-2.10.5-r1[so:libc.musl-armv7.so.1] nginx-1.18.0-r1[so:libc.musl-armv7.so.1] gcc-9.3.0-r2[so:libc.musl-armv7.so.1] g++-9.3.0-r2[so:libc.musl-armv7.so.1] tzdata-2020c-r0[so:libc.musl-armv7.so.1] patch-2.7.6-r6[so:libc.musl-armv7.so.1] bash-5.0.17-r0[so:libc.musl-armv7.so.1] ca-certificates-20191127-r4[so:libc.musl-armv7.so.1] python3-3.8.5-r0[so:libc.musl-armv7.so.1] binutils-2.34-r1[so:libc.musl-armv7.so.1] busybox-1.31.1-r19[so:libc.musl-armv7.so.1] libffi-3.3-r2[so:libc.musl-armv7.so.1] openssh-client-8.3_p1-r0[so:libc.musl-armv7.so.1] sqlite-libs-3.32.1-r0[so:libc.musl-armv7.so.1] curl-7.69.1-r1[so:libc.musl-armv7.so.1] libuv-1.38.1-r0[so:libc.musl-armv7.so.1] ncurses-libs-6.2_p20200523-r0[so:libc.musl-armv7.so.1] expat-2.2.9-r1[so:libc.musl-armv7.so.1] git-2.26.2-r0[so:libc.musl-armv7.so.1] luajit-5.1.20190925-r0[so:libc.musl-armv7.so.1] musl-utils-1.1.24-r9[so:libc.musl-armv7.so.1] nghttp2-libs-1.41.0-r0[so:libc.musl-armv7.so.1] nodejs-12.18.4-r0[so:libc.musl-armv7.so.1] gdbm-1.13-r1[so:libc.musl-armv7.so.1] libstdc++-9.3.0-r2[so:libc.musl-armv7.so.1] libbz2-1.0.8-r1[so:libc.musl-armv7.so.1] brotli-libs-1.0.9-r1[so:libc.musl-armv7.so.1] isl-0.18-r0[so:libc.musl-armv7.so.1] libcurl-7.69.1-r1[so:libc.musl-armv7.so.1] mpc1-1.1.0-r1[so:libc.musl-armv7.so.1] nginx-mod-http-lua-1.18.0-r1[so:libc.musl-armv7.so.1] libgphobos-9.3.0-r2[so:libc.musl-armv7.so.1] pcre-8.44-r0[so:libc.musl-armv7.so.1] oniguruma-6.9.5-r2[so:libc.musl-armv7.so.1] mpfr4-4.0.2-r4[so:libc.musl-armv7.so.1] zlib-1.2.11-r3[so:libc.musl-armv7.so.1] libgomp-9.3.0-r2[so:libc.musl-armv7.so.1] readline-8.0.4-r0[so:libc.musl-armv7.so.1] make-4.3-r0[so:libc.musl-armv7.so.1] libedit-20191231.3.1-r0[so:libc.musl-armv7.so.1] libgcc-9.3.0-r2[so:libc.musl-armv7.so.1] libssl1.1-1.1.1g-r0[so:libc.musl-armv7.so.1] alpine-baselayout-3.2.0-r7[so:libc.musl-armv7.so.1] libcrypto1.1-1.1.1g-r0[so:libc.musl-armv7.so.1] libatomic-9.3.0-r2[so:libc.musl-armv7.so.1] xz-libs-5.2.5-r0[so:libc.musl-armv7.so.1] openssh-keygen-8.3_p1-r0[so:libc.musl-armv7.so.1] pcre2-10.35-r0[so:libc.musl-armv7.so.1] c-ares-1.16.1-r0[so:libc.musl-armv7.so.1] scanelf-1.2.6-r0[so:libc.musl-armv7.so.1] gmp-6.2.0-r0[so:libc.musl-armv7.so.1] jq-1.6-r1[so:libc.musl-armv7.so.1] nginx-mod-devel-kit-1.18.0-r1[so:libc.musl-armv7.so.1] [15:54:09] FATAL: Failed installing system package g++ [cont-init.d] user.sh: exited 1. [cont-finish.d] executing container finish scripts... [cont-finish.d] 99-message.sh: executing...

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0. [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. ##############################################################

With system_packages:

Any suggestion will be extremely appreciated. Bye.

gmarquezp commented 3 years ago

Try adding musl-dev to the list of system_packages:

system_packages:
  - make
  - gcc
  - musl-dev
  - g++
  - libc-dev
bubugian commented 3 years ago

FIX IT Adding - musl before - musl-dev :

system_packages:
  - make
  - gcc
  - musl
  - musl-dev
  - g++
  - libc-dev

Thanks very much gmarquezp for the help !

P.S. note to other interested guys: - musl and - musl-dev SHALL REMAINS between - gcc and - g++. Otherwise it WONT WORK.

maverik80 commented 3 years ago

but where exactly should it be inserted and how, thanks in advance

gmarquezp commented 3 years ago

Supervisor (left menu) -> Node Red (add-on icon) -> Configuration (on the upper menu)

maverik80 commented 3 years ago

THX 👍