rdmtc / RedMatic

Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic 🤹‍♂️
Apache License 2.0
534 stars 47 forks source link

Install Failed: node-red-contrib-modbus #151

Closed Dubwar closed 5 years ago

Dubwar commented 5 years ago

Hallo zusammen,

ich möchte bei mir unter Node-Red das Modul "node-red-contrib-modbus" installieren, um eine Verbindung zu einer UVR1611 Heizungssteuerung aufzubauen.

Die Installation schlägt leider fehl. Ich vermute, dass das Modul wohl seinerseits wiederum ein Binärmodul benötigt, was nicht kompiliert werden kann.

Kann ich hier selber was unternehmen (z.B. Python auf der RaspMatic nachinstallieren) oder müsste das Modul in das Installationspaket aufgenommen werden?

Vielen Dank für die Hilfe!

Anbei das Log:

npm install --save --no-package-lock --global-style --save-prefix="~" --production node-red-contrib-modbus

@serialport/bindings@2.0.7 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.1 runtime=node arch=arm libc= platform=linux) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19) gyp ERR! stack at PythonFinder. (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16) gyp ERR! stack at F (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:68:16) gyp ERR! stack at E (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:80:29) gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:89:16 gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/isexe/index.js:42:5 gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21) gyp ERR! System Linux 4.14.81 gyp ERR! command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings gyp ERR! node -v v10.15.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

serialport@6.2.2 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/modbus-serial/node_modules/serialport prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.1 runtime=node arch=arm platform=linux) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19) gyp ERR! stack at PythonFinder. (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16) gyp ERR! stack at F (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:68:16) gyp ERR! stack at E (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:80:29) gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/which/which.js:89:16 gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/isexe/index.js:42:5 gyp ERR! stack at /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21) gyp ERR! System Linux 4.14.81 gyp ERR! command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/modbus-serial/node_modules/serialport gyp ERR! node -v v10.15.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@2.0.7 (node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@2.0.7 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! serialport@6.2.2 install: prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@6.2.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /usr/local/addons/redmatic/npm-cache/_logs/2019-02-09T10_59_19_760Z-debug.log

hobbyquaker commented 5 years ago

Ich nehms mit dem nächsten Release mit ins Installationspaket auf.

hobbyquaker commented 5 years ago

@Dubwar in RedMatic v2.6.0 steckt nun node-red-contrib-modbus mit drin. Bitte gib Bescheid ob es funktioniert.

Dubwar commented 5 years ago

Ich habe gerade ein paar Tests mit dem Simply Modbus TCP Client unter Windows und dem Control and Monitoring Interface (C.M.I.) von Technische Alternative durchgeführt. node-red-contrib-modbus funktioniert reibungslos und ohne Probleme.

Vielen Dank für die extrem schnelle Rückmeldung und ganz allgemein für das meiner Meinung nach beste AddOn für die Homematic/RaspberryMatic!

ebnerjoh commented 5 years ago

Ich habe gerade ein paar Tests mit dem Simply Modbus TCP Client unter Windows und dem Control and Monitoring Interface (C.M.I.) von Technische Alternative durchgeführt. node-red-contrib-modbus funktioniert reibungslos und ohne Probleme.

Vielen Dank für die extrem schnelle Rückmeldung und ganz allgemein für das meiner Meinung nach beste AddOn für die Homematic/RaspberryMatic!

Hi, hast du da zufällig für mich ein paar Informationen, wie du damit das CMI ausliest?

Vg, Johannes

Sineos commented 5 years ago

Ich schmeiß einfach ein paar Screenshots hier rein. Meldest dich, ob du damit weiter kommst:

  1. UVR: Wert als Ausgang auf den CAN-Bus geben
  2. CMI: CAN-Bus Input mit dem Wert aus 1.
  3. CMI: MOD-Bus Output mit dem Input aus 2.
  4. Redmatic: Siehe Screenshots

MOD-Bus überträgt nur ganzzahlige Werte (integer). Sprich er macht dir aus 53,2 °C --> 532. Musst du dann in Redmatic korrigieren.

grafik

grafik

grafik

grafik

grafik

ebnerjoh commented 5 years ago

Hallo,

Vielen Dank. Eine schnelle Verständisfrage. Die CMI kommuniziert aber nicht direkt mit Node Red sondern braucht einen Modbus-Server dazwischen? Ist das richtig?

Vg, Johannes

Am Di., 23. Juli 2019 um 23:40 Uhr schrieb Sineos <notifications@github.com

:

Ich schmeiß einfach ein paar Screenshots hier rein. Meldest dich, ob du damit weiter kommst:

  1. UVR: Wert als Ausgang auf den CAN-Bus geben
  2. CMI: CAN-Bus Input mit dem Wert aus 1.
  3. CMI: MOD-Bus Output mit dem Input aus 2.
  4. Redmatic: Siehe Screenshots

MOD-Bus überträgt nur ganzzahlige Werte (integer). Sprich er macht dir aus 53,2 °C --> 532. Musst du dann in Redmatic korrigieren.

[image: grafik] https://user-images.githubusercontent.com/4459312/61749024-fe578800-ada1-11e9-94c3-773ffef6a5a9.png

[image: grafik] https://user-images.githubusercontent.com/4459312/61748247-1af2c080-ada0-11e9-842f-9cb5a6ff8a5f.png

[image: grafik] https://user-images.githubusercontent.com/4459312/61748463-8d63a080-ada0-11e9-91ff-6476aa6e03c6.png

[image: grafik] https://user-images.githubusercontent.com/4459312/61748383-5c836b80-ada0-11e9-9416-c014f620e957.png

[image: grafik] https://user-images.githubusercontent.com/4459312/61748928-bf293700-ada1-11e9-9ddf-b442efeee451.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdmtc/RedMatic/issues/151?email_source=notifications&email_token=ALEUALBGSZZTIG4P7MERO4LQA53FVA5CNFSM4GWKAKL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2UQTIA#issuecomment-514394528, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEUALGBW53V5AH44EZKCALQA53FVANCNFSM4GWKAKLQ .

Sineos commented 5 years ago
digidax commented 5 years ago

Hallo und vielen Dank erstmal für den Workflow. Da ich mit meinen IP Paketen durch zwei Firewalls muss, habe ich für den Port 502 entsprechendes DNAT eingerichtet. Irgendwo scheint die Säge zu klemmen, daher die Bitte, mal über meine Konfig zu schauen: grafik grafik grafik grafik grafik grafik

IP Adressen: CMI 192.168.1.88 <-Firewall-> 83.221.235.65 Node Red: 192.168.130.172 <-Firewall -> 94.100.75.10

Firwall Einstellungen:

spiu16 commented 5 years ago

Achtung, welche Version von RedMatic nutzt du? Hinweis ab Version 5.0.0: image

Sineos commented 5 years ago

Hmm, mit dem Zusatz von @spiu16 sieht’s erst mal gut aus. Was mir auffällt: Dein Eingang am CMI hat einen Wert im Screenshot, der Modbus-Ausgang nicht. Der sollte entsprechend 191 zeigen.

Zum Testen kannst du das Tool Ananas verwenden: https://github.com/ioBroker/ioBroker.modbus/blob/master/test/Ananas64.zip Dazu musst du einfach die IP im CMI auf den Rechner schicken auf dem Ananas läuft. Bekommst du hier keine Werte stimmt vermutlich an der Strecke zwischen UVR und dir etwas nicht (UVR --> CMI --> Firewall --> Ananas)

Für die Firewall musst du sicherstellen, dass zur Node-Red IP Verbindungen zu Port 502 von einem beliebigen Quellport erlaubt sind.

digidax commented 5 years ago

Das der Modbus Ausgang keinen Wert hat ist mir auch aufgefallen, der sonnige Support von der technischen Alternative schrieb dazu:

"das Problem liegt daran dass hier offensichtlich keine Verbindung zur eingestellten Modbus-IP-Adresse hergestellt werden kann, dadurch wird auch der Wert hier nicht angezeigt."

Danke für den Tipp mit Ananas. Verstehe ich das richtig, das CMI stellt die Verbindung zur Node her (Server), erst wenn diese steht, kann die Node per "read" auf dem CMI lesen?

Die Firewall Rules habe ich geprüft, indem ich statt auf Port 502 auf 22 (SSH) forwarded habe, mit Putty hat der Zugriff geklappt.

digidax commented 5 years ago

Sehr komisch, sobald ich mit Ananas durch die Firewall (pfsende) testen will, kommt keine Verbindung zu Stande. Ist das ModbusOverTCP nicht NAT-bar?

Sineos commented 5 years ago

Hab ich noch nie probiert. Nach der Theorie ist es eine normale TCP Verbindung. Um Fehler auszuschliessen würde ich mal alles komplett NATen, also in-interface komplett auf ACCEPT und out komplett auf MASQUERADE

digidax commented 5 years ago

Nach viel Recherche am Wochenende und lesen vieler Nutzerberichte scheint Modbus over TCP nicht aus dem Subnetz heraus rout- oder NAT-bar zu sein. Einige berichten, dass es schon bei Powernet Adaptern zu Fehlern kommt oder billige Switche Probleme bei der Kommunikation bereiten.

Ich habe das nun so gelöst: da der Adpter (noch) nicht unter Noder Red 1.0 läuft, habe ich ins Subnet des CMI einen Raspberry mit IO Broker gehängt. Das System funktioniert nun wie folgt:

UVR 16x2 <-CAN BUS-> CMI <-MODBUSoverEthernet-> Raspberry mit IO Broker <-MQTT-> Node Red -> InfluxDB -> Grafana

egeu5 commented 4 years ago

Das Problem scheint wieder aufzutauchen. Gibt es hierfür eine Lösung? Vielen Dank!

2020-07-03T13:14:19.538Z[err] gyp ERR! 2020-07-03T13:14:19.538Z [err] find Python ********************************************************** 2020-07-03T13:14:19.538Z [err] gyp ERR! 2020-07-03T13:14:19.539Z [err] find Python 2020-07-03T13:14:19.541Z [err] gyp 2020-07-03T13:14:19.541Z [err] ERR! configure error 2020-07-03T13:14:19.542Z [err] gyp 2020-07-03T13:14:19.542Z [err] ERR! stack Error: Could not find any Python installation to use 2020-07-03T13:14:19.542Z [err] gyp 2020-07-03T13:14:19.542Z [err] ERR! stack 2020-07-03T13:14:19.542Z [err] at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47) 2020-07-03T13:14:19.542Z [err] gyp 2020-07-03T13:14:19.542Z [err] ERR! stack at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21) 2020-07-03T13:14:19.542Z [err] gyp ERR! 2020-07-03T13:14:19.543Z [err] stack at PythonFinder.<anonymous> (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16) 2020-07-03T13:14:19.543Z [err] gyp ERR! 2020-07-03T13:14:19.543Z [err] stack at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16) 2020-07-03T13:14:19.543Z [err] gyp ERR! stack 2020-07-03T13:14:19.543Z [err] at exithandler (child_process.js:301:5) 2020-07-03T13:14:19.543Z [err] gyp 2020-07-03T13:14:19.543Z [err] ERR! stack 2020-07-03T13:14:19.543Z [err] at ChildProcess.errorhandler (child_process.js:313:5) 2020-07-03T13:14:19.543Z [err] gyp 2020-07-03T13:14:19.543Z [err] ERR! stack 2020-07-03T13:14:19.543Z [err] at ChildProcess.emit (events.js:198:13) 2020-07-03T13:14:19.543Z [err] gyp 2020-07-03T13:14:19.544Z [err] ERR! stack 2020-07-03T13:14:19.544Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) 2020-07-03T13:14:19.544Z [err] gyp 2020-07-03T13:14:19.544Z [err] ERR! stack 2020-07-03T13:14:19.544Z [err] at onErrorNT (internal/child_process.js:415:16) 2020-07-03T13:14:19.544Z [err] gyp 2020-07-03T13:14:19.544Z [err] ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19) 2020-07-03T13:14:19.544Z [err] gyp 2020-07-03T13:14:19.545Z [err] ERR! System 2020-07-03T13:14:19.545Z [err] Linux 5.4.44 2020-07-03T13:14:19.545Z [err] gyp ERR! 2020-07-03T13:14:19.545Z [err] command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-07-03T13:14:19.545Z [err] gyp 2020-07-03T13:14:19.545Z [err] ERR! cwd 2020-07-03T13:14:19.545Z [err] /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/modbus-serial/node_modules/@serialport/bindings 2020-07-03T13:14:19.545Z [err] gyp 2020-07-03T13:14:19.545Z [err] ERR! 2020-07-03T13:14:19.546Z [err] node -v v10.20.0 2020-07-03T13:14:19.546Z [err] gyp ERR! 2020-07-03T13:14:19.546Z [err] node-gyp -v v5.1.0 2020-07-03T13:14:19.546Z [err] gyp ERR! 2020-07-03T13:14:19.546Z [err] not ok 2020-07-03T13:14:19.546Z [err] 2020-07-03T13:14:21.511Z [err] npm 2020-07-03T13:14:21.511Z [err] WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself. 2020-07-03T13:14:21.511Z [err] npm WARN 2020-07-03T13:14:21.511Z [err] node-red-project@0.0.1 No repository field. 2020-07-03T13:14:21.511Z [err] npm 2020-07-03T13:14:21.511Z [err] WARN node-red-project@0.0.1 No license field. 2020-07-03T13:14:21.512Z [err] npm 2020-07-03T13:14:21.512Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.0 (node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings): 2020-07-03T13:14:21.512Z [err] npm WARN 2020-07-03T13:14:21.512Z [err] optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.0 install:prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2020-07-03T13:14:21.512Z [err] npm WARN 2020-07-03T13:14:21.513Z [err] optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2020-07-03T13:14:21.513Z [err] 2020-07-03T13:14:21.573Z [err] npm 2020-07-03T13:14:21.573Z [err] ERR! code ELIFECYCLE 2020-07-03T13:14:21.573Z [err] npm 2020-07-03T13:14:21.573Z [err] ERR! errno 1 2020-07-03T13:14:21.574Z [err] npm 2020-07-03T13:14:21.574Z [err] ERR! @serialport/bindings@8.0.8 install:prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` 2020-07-03T13:14:21.574Z [err] npm ERR! 2020-07-03T13:14:21.574Z [err] Exit status 1 2020-07-03T13:14:21.574Z [err] npm 2020-07-03T13:14:21.574Z [err] ERR! 2020-07-03T13:14:21.574Z [err] npm 2020-07-03T13:14:21.575Z [err] ERR! Failed at the @serialport/bindings@8.0.8 install script. 2020-07-03T13:14:21.575Z [err] npm 2020-07-03T13:14:21.575Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-07-03T13:14:21.635Z [err] 2020-07-03T13:14:21.636Z [err] npm ERR! A complete log of this run can be found in: 2020-07-03T13:14:21.636Z [err] npm ERR! 2020-07-03T13:14:21.636Z [err] /usr/local/addons/redmatic/npm-cache/_logs/2020-07-03T13_14_21_599Z-debug.log 2020-07-03T13:14:21.662Z rc=1

2020-07-03T18:15:42.185Z installieren : node-red-contrib-modbus-tcp-ip 1.0.5 2020-07-03T18:15:41.476Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-modbus-tcp-ip@1.0.5 2020-07-03T18:16:04.600Z [out] 2020-07-03T18:16:04.600Z [out] > serialport@6.2.2 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus-tcp-ip/node_modules/serialport 2020-07-03T18:16:04.600Z [out] > prebuild-install || node-gyp rebuild 2020-07-03T18:16:04.600Z [out] 2020-07-03T18:16:05.733Z [err] prebuild-install 2020-07-03T18:16:05.734Z [err] WARN install No prebuilt binaries found (target=10.20.0 runtime=node arch=arm platform=linux) 2020-07-03T18:16:06.188Z [err] gyp 2020-07-03T18:16:06.189Z [err]
2020-07-03T18:16:06.189Z [err] ERR! find Python 2020-07-03T18:16:06.189Z [err] gyp 2020-07-03T18:16:06.189Z [err] ERR! find Python 2020-07-03T18:16:06.189Z [err] Python is not set from command line or npm configuration 2020-07-03T18:16:06.189Z [err] gyp ERR! 2020-07-03T18:16:06.189Z [err] find Python 2020-07-03T18:16:06.189Z [err] Python is not set from environment variable PYTHON 2020-07-03T18:16:06.189Z [err] gyp 2020-07-03T18:16:06.189Z [err] ERR! find Python 2020-07-03T18:16:06.190Z [err] checking if "python" can be used 2020-07-03T18:16:06.190Z [err] gyp 2020-07-03T18:16:06.190Z [err] ERR! find Python 2020-07-03T18:16:06.190Z [err] - "python" is not in PATH or produced an error 2020-07-03T18:16:06.190Z [err] gyp 2020-07-03T18:16:06.190Z [err] ERR! 2020-07-03T18:16:06.190Z [err] find Python checking if "python2" can be used 2020-07-03T18:16:06.190Z [err] gyp 2020-07-03T18:16:06.190Z [err] ERR! find Python - "python2" is not in PATH or produced an error 2020-07-03T18:16:06.190Z [err] gyp 2020-07-03T18:16:06.190Z [err] ERR! find Python 2020-07-03T18:16:06.190Z [err] checking if "python3" can be used 2020-07-03T18:16:06.190Z [err] gyp 2020-07-03T18:16:06.190Z [err] ERR! find Python 2020-07-03T18:16:06.191Z [err] - "python3" is not in PATH or produced an error 2020-07-03T18:16:06.191Z [err] gyp 2020-07-03T18:16:06.191Z [err] ERR! 2020-07-03T18:16:06.191Z [err] find Python 2020-07-03T18:16:06.191Z [err] gyp 2020-07-03T18:16:06.191Z [err] ERR! 2020-07-03T18:16:06.191Z [err] find Python ** 2020-07-03T18:16:06.191Z [err] gyp 2020-07-03T18:16:06.191Z [err] ERR! find Python 2020-07-03T18:16:06.191Z [err] You need to install the latest version of Python. 2020-07-03T18:16:06.191Z [err] gyp 2020-07-03T18:16:06.191Z [err] ERR! find Python 2020-07-03T18:16:06.191Z [err] Node-gyp should be able to find and use Python. If not, 2020-07-03T18:16:06.191Z [err] gyp 2020-07-03T18:16:06.191Z [err] ERR! 2020-07-03T18:16:06.192Z [err] find Python you can try one of the following options: 2020-07-03T18:16:06.192Z [err] gyp ERR! 2020-07-03T18:16:06.192Z [err] find Python - Use the switch --python="/path/to/pythonexecutable" 2020-07-03T18:16:06.192Z [err] gyp ERR! 2020-07-03T18:16:06.192Z [err] find Python (accepted by both node-gyp and npm) 2020-07-03T18:16:06.192Z [err] gyp ERR! 2020-07-03T18:16:06.192Z [err] find Python - Set the environment variable PYTHON 2020-07-03T18:16:06.192Z [err] gyp ERR! 2020-07-03T18:16:06.192Z [err] find Python 2020-07-03T18:16:06.192Z [err] - Set the npm configuration variable python: 2020-07-03T18:16:06.192Z [err] gyp 2020-07-03T18:16:06.192Z [err] ERR! find Python 2020-07-03T18:16:06.193Z [err] npm config set python "/path/to/pythonexecutable" 2020-07-03T18:16:06.193Z [err] gyp 2020-07-03T18:16:06.193Z [err] ERR! 2020-07-03T18:16:06.193Z [err] find Python For more information consult the documentation at: 2020-07-03T18:16:06.193Z [err] gyp 2020-07-03T18:16:06.193Z [err] ERR! 2020-07-03T18:16:06.193Z [err] find Python https://github.com/nodejs/node-gyp#installation 2020-07-03T18:16:06.193Z [err] gyp 2020-07-03T18:16:06.193Z [err] ERR! 2020-07-03T18:16:06.193Z [err] find Python ** 2020-07-03T18:16:06.193Z [err] gyp 2020-07-03T18:16:06.193Z [err] ERR! 2020-07-03T18:16:06.193Z [err] find Python 2020-07-03T18:16:06.196Z [err] gyp 2020-07-03T18:16:06.196Z [err] ERR! configure error 2020-07-03T18:16:06.197Z [err] gyp 2020-07-03T18:16:06.197Z [err] ERR! stack Error: Could not find any Python installation to use 2020-07-03T18:16:06.197Z [err] gyp ERR! 2020-07-03T18:16:06.197Z [err] stack at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47) 2020-07-03T18:16:06.197Z [err] gyp 2020-07-03T18:16:06.197Z [err] ERR! stack 2020-07-03T18:16:06.197Z [err] at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21) 2020-07-03T18:16:06.197Z [err] gyp 2020-07-03T18:16:06.197Z [err] ERR! 2020-07-03T18:16:06.197Z [err] stack at PythonFinder. (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16) 2020-07-03T18:16:06.198Z [err] gyp ERR! 2020-07-03T18:16:06.198Z [err] stack at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16) 2020-07-03T18:16:06.198Z [err] gyp 2020-07-03T18:16:06.198Z [err] ERR! 2020-07-03T18:16:06.198Z [err] stack at exithandler (child_process.js:301:5) 2020-07-03T18:16:06.198Z [err] gyp ERR! 2020-07-03T18:16:06.198Z [err] stack at ChildProcess.errorhandler (child_process.js:313:5) 2020-07-03T18:16:06.198Z [err] gyp 2020-07-03T18:16:06.198Z [err] ERR! 2020-07-03T18:16:06.198Z [err] stack at ChildProcess.emit (events.js:198:13) 2020-07-03T18:16:06.198Z [err] gyp ERR! 2020-07-03T18:16:06.198Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) 2020-07-03T18:16:06.198Z [err] gyp ERR! 2020-07-03T18:16:06.199Z [err] stack 2020-07-03T18:16:06.199Z [err] at onErrorNT (internal/child_process.js:415:16) 2020-07-03T18:16:06.199Z [err] gyp 2020-07-03T18:16:06.199Z [err] ERR! stack 2020-07-03T18:16:06.199Z [err] at process._tickCallback (internal/process/next_tick.js:63:19) 2020-07-03T18:16:06.199Z [err] gyp 2020-07-03T18:16:06.199Z [err] ERR! System 2020-07-03T18:16:06.200Z [err] Linux 5.4.44 2020-07-03T18:16:06.200Z [err] gyp 2020-07-03T18:16:06.200Z [err] ERR! 2020-07-03T18:16:06.200Z [err] command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-07-03T18:16:06.205Z [err] gyp 2020-07-03T18:16:06.206Z [err] ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus-tcp-ip/node_modules/serialport 2020-07-03T18:16:06.206Z [err] gyp ERR! 2020-07-03T18:16:06.206Z [err] node -v v10.20.0 2020-07-03T18:16:06.206Z [err] gyp 2020-07-03T18:16:06.206Z [err] ERR! node-gyp -v 2020-07-03T18:16:06.206Z [err] v5.1.0 2020-07-03T18:16:06.206Z [err] gyp 2020-07-03T18:16:06.206Z [err] ERR! not ok 2020-07-03T18:16:06.206Z [err]
2020-07-03T18:16:07.688Z [err] npm 2020-07-03T18:16:07.688Z [err] WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself. 2020-07-03T18:16:07.688Z [err] npm WARN 2020-07-03T18:16:07.688Z [err] node-red-project@0.0.1 No repository field. 2020-07-03T18:16:07.688Z [err] npm 2020-07-03T18:16:07.690Z [err] WARN node-red-project@0.0.1 No license field. 2020-07-03T18:16:07.690Z [err] 2020-07-03T18:16:07.745Z [err] npm 2020-07-03T18:16:07.746Z [err]
2020-07-03T18:16:07.746Z [err] ERR! 2020-07-03T18:16:07.746Z [err]
2020-07-03T18:16:07.746Z [err] code 2020-07-03T18:16:07.747Z [err] ELIFECYCLE 2020-07-03T18:16:07.747Z [err] npm 2020-07-03T18:16:07.748Z [err]
2020-07-03T18:16:07.748Z [err] ERR! 2020-07-03T18:16:07.748Z [err]
2020-07-03T18:16:07.748Z [err] errno 2020-07-03T18:16:07.748Z [err] 1 2020-07-03T18:16:07.749Z [err] npm 2020-07-03T18:16:07.749Z [err]
2020-07-03T18:16:07.749Z [err] ERR! 2020-07-03T18:16:07.750Z [err] serialport@6.2.2 install: prebuild-install || node-gyp rebuild 2020-07-03T18:16:07.750Z [err] npm 2020-07-03T18:16:07.750Z [err]
2020-07-03T18:16:07.750Z [err] ERR! 2020-07-03T18:16:07.750Z [err] Exit status 1 2020-07-03T18:16:07.751Z [err] npm 2020-07-03T18:16:07.751Z [err]
2020-07-03T18:16:07.751Z [err] ERR! 2020-07-03T18:16:07.752Z [err]
2020-07-03T18:16:07.752Z [err] npm 2020-07-03T18:16:07.752Z [err]
2020-07-03T18:16:07.752Z [err] ERR! 2020-07-03T18:16:07.752Z [err] Failed at the serialport@6.2.2 install script. 2020-07-03T18:16:07.752Z [err] npm 2020-07-03T18:16:07.753Z [err]
2020-07-03T18:16:07.753Z [err] ERR! 2020-07-03T18:16:07.753Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2020-07-03T18:16:07.856Z [err] 2020-07-03T18:16:07.857Z [err] npm 2020-07-03T18:16:07.857Z [err]
2020-07-03T18:16:07.858Z [err] ERR! 2020-07-03T18:16:07.858Z [err] A complete log of this run can be found in: 2020-07-03T18:16:07.859Z [err] npm 2020-07-03T18:16:07.859Z [err]
2020-07-03T18:16:07.860Z [err] ERR! 2020-07-03T18:16:07.865Z [err] /usr/local/addons/redmatic/npm-cache/_logs/2020-07-03T18_16_07_799Z-debug.log 2020-07-03T18:16:07.886Z rc=1

2020-07-03T18:18:37.888Z installieren : node-red-contrib-modbus 5.13.3 2020-07-03T18:18:37.170Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-modbus@5.13.3 2020-07-03T18:18:54.444Z [out] 2020-07-03T18:18:54.444Z [out] > @serialport/bindings@9.0.0 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings 2020-07-03T18:18:54.444Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2020-07-03T18:18:54.444Z [out] 2020-07-03T18:18:55.342Z [err] prebuild-install 2020-07-03T18:18:55.342Z [err] WARN install 2020-07-03T18:18:55.343Z [err] No prebuilt binaries found (target=10.20.0 runtime=node arch=arm libc= platform=linux) 2020-07-03T18:18:55.785Z [err] gyp 2020-07-03T18:18:55.786Z [err]
2020-07-03T18:18:55.786Z [err] ERR! find Python 2020-07-03T18:18:55.786Z [err] gyp ERR! 2020-07-03T18:18:55.786Z [err] find Python 2020-07-03T18:18:55.786Z [err] Python is not set from command line or npm configuration 2020-07-03T18:18:55.786Z [err] gyp 2020-07-03T18:18:55.786Z [err] ERR! find Python 2020-07-03T18:18:55.786Z [err] Python is not set from environment variable PYTHON 2020-07-03T18:18:55.786Z [err] gyp 2020-07-03T18:18:55.786Z [err] ERR! find Python 2020-07-03T18:18:55.786Z [err] checking if "python" can be used 2020-07-03T18:18:55.786Z [err] gyp 2020-07-03T18:18:55.787Z [err] ERR! find Python 2020-07-03T18:18:55.787Z [err] - "python" is not in PATH or produced an error 2020-07-03T18:18:55.787Z [err] gyp 2020-07-03T18:18:55.787Z [err] ERR! find Python 2020-07-03T18:18:55.787Z [err] checking if "python2" can be used 2020-07-03T18:18:55.787Z [err] gyp 2020-07-03T18:18:55.787Z [err] ERR! 2020-07-03T18:18:55.787Z [err] find Python - "python2" is not in PATH or produced an error 2020-07-03T18:18:55.787Z [err] gyp ERR! 2020-07-03T18:18:55.787Z [err] find Python checking if "python3" can be used 2020-07-03T18:18:55.787Z [err] gyp 2020-07-03T18:18:55.787Z [err] ERR! find Python - "python3" is not in PATH or produced an error 2020-07-03T18:18:55.788Z [err] gyp ERR! 2020-07-03T18:18:55.788Z [err] find Python 2020-07-03T18:18:55.788Z [err] gyp ERR! 2020-07-03T18:18:55.788Z [err] find Python 2020-07-03T18:18:55.788Z [err] ** 2020-07-03T18:18:55.788Z [err] gyp 2020-07-03T18:18:55.788Z [err] ERR! find Python 2020-07-03T18:18:55.788Z [err] You need to install the latest version of Python. 2020-07-03T18:18:55.788Z [err] gyp 2020-07-03T18:18:55.788Z [err] ERR! find Python 2020-07-03T18:18:55.788Z [err] Node-gyp should be able to find and use Python. If not, 2020-07-03T18:18:55.788Z [err] gyp 2020-07-03T18:18:55.788Z [err] ERR! 2020-07-03T18:18:55.788Z [err] find Python you can try one of the following options: 2020-07-03T18:18:55.788Z [err] gyp 2020-07-03T18:18:55.789Z [err] ERR! 2020-07-03T18:18:55.789Z [err] find Python - Use the switch --python="/path/to/pythonexecutable" 2020-07-03T18:18:55.789Z [err] gyp ERR! 2020-07-03T18:18:55.793Z [err] find Python (accepted by both node-gyp and npm) 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python - Set the environment variable PYTHON 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python - Set the npm configuration variable python: 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python npm config set python "/path/to/pythonexecutable" 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python For more information consult the documentation at: 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python https://github.com/nodejs/node-gyp#installation 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python ** 2020-07-03T18:18:55.793Z [err] gyp ERR! find Python 2020-07-03T18:18:55.793Z [err] gyp 2020-07-03T18:18:55.793Z [err] ERR! configure error 2020-07-03T18:18:55.794Z [err] gyp 2020-07-03T18:18:55.794Z [err] ERR! stack Error: Could not find any Python installation to use 2020-07-03T18:18:55.794Z [err] gyp 2020-07-03T18:18:55.794Z [err] ERR! 2020-07-03T18:18:55.794Z [err] stack at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47) 2020-07-03T18:18:55.794Z [err] gyp 2020-07-03T18:18:55.794Z [err] ERR! 2020-07-03T18:18:55.794Z [err] stack at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21) 2020-07-03T18:18:55.794Z [err] gyp ERR! 2020-07-03T18:18:55.795Z [err] stack at PythonFinder. (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16) 2020-07-03T18:18:55.795Z [err] gyp 2020-07-03T18:18:55.795Z [err] ERR! 2020-07-03T18:18:55.795Z [err] stack at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16) 2020-07-03T18:18:55.795Z [err] gyp 2020-07-03T18:18:55.795Z [err] ERR! 2020-07-03T18:18:55.795Z [err] stack at exithandler (child_process.js:301:5) 2020-07-03T18:18:55.795Z [err] gyp ERR! 2020-07-03T18:18:55.795Z [err] stack at ChildProcess.errorhandler (child_process.js:313:5) 2020-07-03T18:18:55.795Z [err] gyp 2020-07-03T18:18:55.795Z [err] ERR! stack 2020-07-03T18:18:55.795Z [err] at ChildProcess.emit (events.js:198:13) 2020-07-03T18:18:55.795Z [err] gyp 2020-07-03T18:18:55.795Z [err] ERR! stack 2020-07-03T18:18:55.796Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) 2020-07-03T18:18:55.796Z [err] gyp 2020-07-03T18:18:55.796Z [err] ERR! stack 2020-07-03T18:18:55.796Z [err] at onErrorNT (internal/child_process.js:415:16) 2020-07-03T18:18:55.796Z [err] gyp 2020-07-03T18:18:55.796Z [err] ERR! 2020-07-03T18:18:55.796Z [err] stack at process._tickCallback (internal/process/next_tick.js:63:19) 2020-07-03T18:18:55.796Z [err] gyp 2020-07-03T18:18:55.797Z [err] ERR! System Linux 5.4.44 2020-07-03T18:18:55.797Z [err] gyp 2020-07-03T18:18:55.797Z [err] ERR! 2020-07-03T18:18:55.797Z [err] command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-07-03T18:18:55.797Z [err] gyp 2020-07-03T18:18:55.797Z [err] ERR! cwd 2020-07-03T18:18:55.797Z [err] /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings 2020-07-03T18:18:55.797Z [err] gyp ERR! 2020-07-03T18:18:55.797Z [err] node -v v10.20.0 2020-07-03T18:18:55.798Z [err] gyp ERR! 2020-07-03T18:18:55.798Z [err] node-gyp -v 2020-07-03T18:18:55.798Z [err] v5.1.0 2020-07-03T18:18:55.798Z [err] gyp 2020-07-03T18:18:55.798Z [err] ERR! 2020-07-03T18:18:55.798Z [err] not ok 2020-07-03T18:18:55.814Z [out] 2020-07-03T18:18:55.814Z [out] > @serialport/bindings@8.0.8 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/modbus-serial/node_modules/@serialport/bindings 2020-07-03T18:18:55.814Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2020-07-03T18:18:55.814Z [out] 2020-07-03T18:18:56.592Z [err] prebuild-install 2020-07-03T18:18:56.592Z [err]
2020-07-03T18:18:56.593Z [err] WARN 2020-07-03T18:18:56.593Z [err]
2020-07-03T18:18:56.593Z [err] install 2020-07-03T18:18:56.593Z [err] No prebuilt binaries found (target=10.20.0 runtime=node arch=arm libc= platform=linux) 2020-07-03T18:18:57.053Z [err] gyp 2020-07-03T18:18:57.053Z [err]
2020-07-03T18:18:57.054Z [err] ERR! find Python 2020-07-03T18:18:57.054Z [err]
2020-07-03T18:18:57.054Z [err] gyp 2020-07-03T18:18:57.054Z [err] ERR! find Python 2020-07-03T18:18:57.054Z [err] Python is not set from command line or npm configuration 2020-07-03T18:18:57.054Z [err] gyp 2020-07-03T18:18:57.054Z [err] ERR! 2020-07-03T18:18:57.054Z [err] find Python Python is not set from environment variable PYTHON 2020-07-03T18:18:57.054Z [err] gyp 2020-07-03T18:18:57.054Z [err] ERR! 2020-07-03T18:18:57.054Z [err] find Python checking if "python" can be used 2020-07-03T18:18:57.054Z [err] gyp ERR! 2020-07-03T18:18:57.055Z [err] find Python 2020-07-03T18:18:57.055Z [err] - "python" is not in PATH or produced an error 2020-07-03T18:18:57.055Z [err] gyp 2020-07-03T18:18:57.055Z [err] ERR! find Python 2020-07-03T18:18:57.055Z [err] checking if "python2" can be used 2020-07-03T18:18:57.055Z [err] gyp 2020-07-03T18:18:57.055Z [err] ERR! 2020-07-03T18:18:57.055Z [err] find Python - "python2" is not in PATH or produced an error 2020-07-03T18:18:57.055Z [err] gyp ERR! 2020-07-03T18:18:57.055Z [err] find Python checking if "python3" can be used 2020-07-03T18:18:57.055Z [err] gyp ERR! 2020-07-03T18:18:57.055Z [err] find Python 2020-07-03T18:18:57.055Z [err] - "python3" is not in PATH or produced an error 2020-07-03T18:18:57.055Z [err] gyp 2020-07-03T18:18:57.056Z [err] ERR! find Python 2020-07-03T18:18:57.056Z [err]
2020-07-03T18:18:57.056Z [err] gyp 2020-07-03T18:18:57.056Z [err] ERR! 2020-07-03T18:18:57.056Z [err] find Python ** 2020-07-03T18:18:57.056Z [err] gyp ERR! 2020-07-03T18:18:57.056Z [err] find Python 2020-07-03T18:18:57.056Z [err] You need to install the latest version of Python. 2020-07-03T18:18:57.056Z [err] gyp 2020-07-03T18:18:57.056Z [err] ERR! find Python 2020-07-03T18:18:57.056Z [err] Node-gyp should be able to find and use Python. If not, 2020-07-03T18:18:57.056Z [err] gyp 2020-07-03T18:18:57.056Z [err] ERR! find Python 2020-07-03T18:18:57.056Z [err] you can try one of the following options: 2020-07-03T18:18:57.056Z [err] gyp 2020-07-03T18:18:57.057Z [err] ERR! 2020-07-03T18:18:57.057Z [err] find Python - Use the switch --python="/path/to/pythonexecutable" 2020-07-03T18:18:57.057Z [err] gyp ERR! find Python 2020-07-03T18:18:57.057Z [err] (accepted by both node-gyp and npm) 2020-07-03T18:18:57.057Z [err] gyp 2020-07-03T18:18:57.057Z [err] ERR! 2020-07-03T18:18:57.057Z [err] find Python - Set the environment variable PYTHON 2020-07-03T18:18:57.057Z [err] gyp ERR! 2020-07-03T18:18:57.057Z [err] find Python - Set the npm configuration variable python: 2020-07-03T18:18:57.057Z [err] gyp 2020-07-03T18:18:57.057Z [err] ERR! find Python 2020-07-03T18:18:57.058Z [err] npm config set python "/path/to/pythonexecutable" 2020-07-03T18:18:57.058Z [err] gyp 2020-07-03T18:18:57.058Z [err] ERR! 2020-07-03T18:18:57.058Z [err] find Python For more information consult the documentation at: 2020-07-03T18:18:57.058Z [err] gyp ERR! 2020-07-03T18:18:57.058Z [err] find Python 2020-07-03T18:18:57.058Z [err] https://github.com/nodejs/node-gyp#installation 2020-07-03T18:18:57.058Z [err] gyp 2020-07-03T18:18:57.058Z [err] ERR! 2020-07-03T18:18:57.058Z [err] find Python ** 2020-07-03T18:18:57.058Z [err] gyp 2020-07-03T18:18:57.058Z [err] ERR! 2020-07-03T18:18:57.058Z [err] find Python 2020-07-03T18:18:57.061Z [err] gyp 2020-07-03T18:18:57.061Z [err] ERR! configure error 2020-07-03T18:18:57.062Z [err] gyp 2020-07-03T18:18:57.062Z [err] ERR! stack Error: Could not find any Python installation to use 2020-07-03T18:18:57.062Z [err] gyp ERR! 2020-07-03T18:18:57.062Z [err] stack at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47) 2020-07-03T18:18:57.062Z [err] gyp 2020-07-03T18:18:57.062Z [err] ERR! stack 2020-07-03T18:18:57.062Z [err] at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21) 2020-07-03T18:18:57.062Z [err] gyp 2020-07-03T18:18:57.062Z [err] ERR! stack 2020-07-03T18:18:57.062Z [err] at PythonFinder. (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16) 2020-07-03T18:18:57.062Z [err] gyp 2020-07-03T18:18:57.066Z [err] ERR! 2020-07-03T18:18:57.067Z [err] stack at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at exithandler (child_process.js:301:5) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at ChildProcess.errorhandler (child_process.js:313:5) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at ChildProcess.emit (events.js:198:13) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at onErrorNT (internal/child_process.js:415:16) 2020-07-03T18:18:57.067Z [err] gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19) 2020-07-03T18:18:57.067Z [err] gyp ERR! System Linux 5.4.44 2020-07-03T18:18:57.067Z [err] gyp ERR! command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-07-03T18:18:57.067Z [err] gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-contrib-modbus/node_modules/modbus-serial/node_modules/@serialport/bindings 2020-07-03T18:18:57.067Z [err] gyp ERR! node -v v10.20.0 2020-07-03T18:18:57.067Z [err] gyp ERR! node-gyp -v v5.1.0 2020-07-03T18:18:57.067Z [err] gyp ERR! not ok 2020-07-03T18:18:58.924Z [err] npm 2020-07-03T18:18:58.925Z [err] WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself. 2020-07-03T18:18:58.925Z [err] npm 2020-07-03T18:18:58.925Z [err] WARN node-red-project@0.0.1 No repository field. 2020-07-03T18:18:58.925Z [err] npm 2020-07-03T18:18:58.925Z [err] WARN node-red-project@0.0.1 No license field. 2020-07-03T18:18:58.926Z [err] npm 2020-07-03T18:18:58.926Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.0 (node_modules/node-red-contrib-modbus/node_modules/@serialport/bindings): 2020-07-03T18:18:58.926Z [err] npm 2020-07-03T18:18:58.926Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.0 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2020-07-03T18:18:58.926Z [err] npm WARN 2020-07-03T18:18:58.926Z [err] optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2020-07-03T18:18:58.927Z [err] 2020-07-03T18:18:58.986Z [err] npm 2020-07-03T18:18:58.987Z [err] ERR! code ELIFECYCLE 2020-07-03T18:18:58.987Z [err] npm 2020-07-03T18:18:58.987Z [err] ERR! errno 1 2020-07-03T18:18:58.987Z [err] npm 2020-07-03T18:18:58.988Z [err] ERR! @serialport/bindings@8.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2020-07-03T18:18:58.988Z [err] npm 2020-07-03T18:18:58.988Z [err] ERR! Exit status 1 2020-07-03T18:18:58.988Z [err] npm 2020-07-03T18:18:58.988Z [err] ERR! 2020-07-03T18:18:58.988Z [err] npm ERR! 2020-07-03T18:18:58.988Z [err] Failed at the @serialport/bindings@8.0.8 install script. 2020-07-03T18:18:58.988Z [err] npm 2020-07-03T18:18:58.988Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-07-03T18:18:59.063Z [err] 2020-07-03T18:18:59.063Z [err] npm ERR! 2020-07-03T18:18:59.064Z [err] A complete log of this run can be found in: 2020-07-03T18:18:59.064Z [err] npm 2020-07-03T18:18:59.064Z [err] ERR! /usr/local/addons/redmatic/npm-cache/_logs/2020-07-03T18_18_59_015Z-debug.log 2020-07-03T18:18:59.089Z rc=1