-
Notifications
You must be signed in to change notification settings - Fork 48
Description
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 rebuildprebuild-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 okserialport@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 rebuildprebuild-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 1npm 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