Mein Setup:
Raspi 3B+ mit aktueller RaspberryMatic 3.49.17.20191225
Redmatic 5.3.9
CuxD ist installiert (Eintrag für Stick ist gesetzt)
Stick: USB 1-1.1.3 - {NC} TI CC2531 USB CDC [COMM] - /dev/ttyACM0
Entsprechendes Logfile habe ich angehängt, vielen Dank Andreas
Code: Alles auswählen
2020-01-08T15:35:50.050Z installieren : node-red-contrib-zigbee 0.17.0
2020-01-08T15:35:49.115Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-zigbee@0.17.0
2020-01-08T15:35:58.532Z [err] npm
2020-01-08T15:35:58.533Z [err] WARN deprecated vis@4.21.0: Please consider using https://github.com/visjs
2020-01-08T15:36:13.695Z [out]
2020-01-08T15:36:13.695Z [out] > @serialport/bindings@8.0.6 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-zigbee/node_modules/@serialport/bindings
2020-01-08T15:36:13.695Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2020-01-08T15:36:13.695Z [out]
2020-01-08T15:36:15.265Z [err] prebuild-install
2020-01-08T15:36:15.266Z [err] WARN install No prebuilt binaries found (target=10.18.0 runtime=node arch=arm libc= platform=linux)
2020-01-08T15:36:15.985Z [err] gyp
2020-01-08T15:36:15.987Z [err]
2020-01-08T15:36:15.987Z [err] ERR! find Python
2020-01-08T15:36:15.987Z [err] gyp ERR!
2020-01-08T15:36:15.987Z [err]
2020-01-08T15:36:15.987Z [err] find Python Python is not set from command line or npm configuration
2020-01-08T15:36:15.987Z [err] gyp ERR!
2020-01-08T15:36:15.987Z [err]
2020-01-08T15:36:15.987Z [err] find Python Python is not set from environment variable PYTHON
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python checking if "python" can be used
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - "python" is not in PATH or produced an error
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python checking if "python2" can be used
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - "python2" is not in PATH or produced an error
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python checking if "python3" can be used
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - "python3" is not in PATH or produced an error
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python **********************************************************
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python You need to install the latest version of Python.
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python you can try one of the following options:
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python (accepted by both node-gyp and npm)
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - Set the environment variable PYTHON
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python - Set the npm configuration variable python:
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python For more information consult the documentation at:
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python **********************************************************
2020-01-08T15:36:15.997Z [err] gyp ERR! find Python
2020-01-08T15:36:15.999Z [err] gyp
2020-01-08T15:36:16.000Z [err] ERR! configure error
2020-01-08T15:36:16.001Z [err] gyp
2020-01-08T15:36:16.001Z [err] ERR! stack Error: Could not find any Python installation to use
2020-01-08T15:36:16.001Z [err] gyp
2020-01-08T15:36:16.001Z [err] ERR! stack
2020-01-08T15:36:16.002Z [err] at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47)
2020-01-08T15:36:16.002Z [err] gyp
2020-01-08T15:36:16.002Z [err] ERR!
2020-01-08T15:36:16.002Z [err] stack
2020-01-08T15:36:16.002Z [err] at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
2020-01-08T15:36:16.002Z [err] gyp
2020-01-08T15:36:16.002Z [err] ERR!
2020-01-08T15:36:16.002Z [err] stack at PythonFinder.<anonymous> (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
2020-01-08T15:36:16.002Z [err] gyp
2020-01-08T15:36:16.002Z [err] ERR! stack
2020-01-08T15:36:16.002Z [err] at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16)
2020-01-08T15:36:16.002Z [err] gyp
2020-01-08T15:36:16.003Z [err] ERR!
2020-01-08T15:36:16.003Z [err] stack
2020-01-08T15:36:16.003Z [err] at exithandler (child_process.js:301:5)
2020-01-08T15:36:16.003Z [err] gyp
2020-01-08T15:36:16.003Z [err] ERR!
2020-01-08T15:36:16.003Z [err] stack
2020-01-08T15:36:16.003Z [err] at ChildProcess.errorhandler (child_process.js:313:5)
2020-01-08T15:36:16.003Z [err] gyp
2020-01-08T15:36:16.003Z [err] ERR!
2020-01-08T15:36:16.003Z [err] stack at ChildProcess.emit (events.js:198:13)
2020-01-08T15:36:16.003Z [err] gyp
2020-01-08T15:36:16.003Z [err] ERR!
2020-01-08T15:36:16.004Z [err] stack
2020-01-08T15:36:16.004Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
2020-01-08T15:36:16.004Z [err] gyp
2020-01-08T15:36:16.004Z [err] ERR! stack
2020-01-08T15:36:16.004Z [err] at onErrorNT (internal/child_process.js:415:16)
2020-01-08T15:36:16.004Z [err] gyp ERR!
2020-01-08T15:36:16.004Z [err] stack at process._tickCallback (internal/process/next_tick.js:63:19)
2020-01-08T15:36:16.005Z [err] gyp
2020-01-08T15:36:16.006Z [err] ERR! System Linux 4.19.89
2020-01-08T15:36:16.006Z [err] gyp
2020-01-08T15:36:16.006Z [err] ERR! command
2020-01-08T15:36:16.006Z [err] "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-01-08T15:36:16.006Z [err] gyp
2020-01-08T15:36:16.006Z [err] ERR!
2020-01-08T15:36:16.007Z [err] cwd
2020-01-08T15:36:16.008Z [err] /usr/local/addons/redmatic/var/node_modules/node-red-contrib-zigbee/node_modules/@serialport/bindings
2020-01-08T15:36:16.008Z [err] gyp ERR! node -v v10.18.0
2020-01-08T15:36:16.008Z [err] gyp ERR! node-gyp -v v5.0.5
2020-01-08T15:36:16.008Z [err] gyp ERR! not ok
2020-01-08T15:36:18.279Z [err] npm
2020-01-08T15:36:18.280Z [err]
2020-01-08T15:36:18.280Z [err] WARN
2020-01-08T15:36:18.280Z [err] node-red-project@0.0.1 No repository field.
2020-01-08T15:36:18.281Z [err] npm
2020-01-08T15:36:18.281Z [err]
2020-01-08T15:36:18.281Z [err] WARN
2020-01-08T15:36:18.281Z [err] node-red-project@0.0.1 No license field.
2020-01-08T15:36:18.282Z [err]
2020-01-08T15:36:18.393Z [err] npm
2020-01-08T15:36:18.394Z [err]
2020-01-08T15:36:18.394Z [err] ERR!
2020-01-08T15:36:18.394Z [err]
2020-01-08T15:36:18.394Z [err] code
2020-01-08T15:36:18.395Z [err] ELIFECYCLE
2020-01-08T15:36:18.396Z [err] npm
2020-01-08T15:36:18.396Z [err]
2020-01-08T15:36:18.401Z [err] ERR! errno 1
2020-01-08T15:36:18.402Z [err] npm
2020-01-08T15:36:18.402Z [err] ERR! @serialport/bindings@8.0.6 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
2020-01-08T15:36:18.402Z [err] npm ERR!
2020-01-08T15:36:18.402Z [err] Exit status 1
2020-01-08T15:36:18.403Z [err] npm
2020-01-08T15:36:18.403Z [err] ERR!
2020-01-08T15:36:18.403Z [err] npm
2020-01-08T15:36:18.403Z [err] ERR! Failed at the @serialport/bindings@8.0.6 install script.
2020-01-08T15:36:18.403Z [err] npm ERR!
2020-01-08T15:36:18.403Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2020-01-08T15:36:18.482Z [err]
2020-01-08T15:36:18.482Z [err] npm ERR! A complete log of this run can be found in:
2020-01-08T15:36:18.482Z [err] npm
2020-01-08T15:36:18.483Z [err] ERR! /usr/local/addons/redmatic/npm-cache/_logs/2020-01-08T15_36_18_439Z-debug.log
2020-01-08T15:36:18.517Z rc=1