Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Viele Gyp-Fehler bei Installation

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    283

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Viele Gyp-Fehler bei Installation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
9 Beiträge 5 Kommentatoren 6.2k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    mrMuppet
    schrieb am zuletzt editiert von
    #1

    Hi,

    ich bin gerade dabei meine iobroker Installation in eine neue Virtualisierung (iocage) umzuziehen und habe bei der Installation ziemlich viele gyp-Fehler

    ! npm install iobroker –unsafe-perm
    ! > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker
    ! > node lib/setup.js
    ! NPM version: 4.6.1
    ! npm install iobroker.discovery --production --save --prefix "/opt/iobroker"
    ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... x64.tar.gz
    ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.12.2 (node-v48 ABI) (falling back to source compile with node-gyp)
    ! 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 Object.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
    ! gyp ERR! stack at Object. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
    ! gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
    ! gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
    ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
    ! gyp ERR! System FreeBSD 11.1-STABLE
    ! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
    ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! gyp ERR! node -v v6.12.2
    ! gyp ERR! node-gyp -v v3.6.0
    ! gyp ERR! not ok
    ! node-pre-gyp ERR! build error
    ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
    ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
    ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
    ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
    ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
    ! node-pre-gyp ERR! System FreeBSD 11.1-STABLE
    ! node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! node-pre-gyp ERR! node -v v6.12.2
    ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    ! node-pre-gyp ERR! not ok
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: node-pre-gyp install --fallback-to-build
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    ! npm install iobroker.admin --production --save --prefix "/opt/iobroker"
    ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... x64.tar.gz
    ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.12.2 (node-v48 ABI) (falling back to source compile with node-gyp)
    ! 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 Object.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
    ! gyp ERR! stack at Object. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
    ! gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
    ! gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
    ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
    ! gyp ERR! System FreeBSD 11.1-STABLE
    ! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
    ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! gyp ERR! node -v v6.12.2
    ! gyp ERR! node-gyp -v v3.6.0
    ! gyp ERR! not ok
    ! node-pre-gyp ERR! build error
    ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
    ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
    ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
    ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
    ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
    ! node-pre-gyp ERR! System FreeBSD 11.1-STABLE
    ! node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! node-pre-gyp ERR! node -v v6.12.2
    ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    ! node-pre-gyp ERR! not ok
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: node-pre-gyp install --fallback-to-build
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    ! npm install iobroker.js-controller --production --save --prefix "/opt/iobroker"
    ! npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
    ! npm WARN prefer global npm@2.15.12 should be installed with -g
    ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... x64.tar.gz
    ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.12.2 (node-v48 ABI) (falling back to source compile with node-gyp)
    ! 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 Object.failNoPython (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
    ! gyp ERR! stack at Object. <anonymous>(/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
    ! gyp ERR! stack at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:16)
    ! gyp ERR! stack at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
    ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
    ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
    ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
    ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
    ! gyp ERR! System FreeBSD 11.1-STABLE
    ! gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
    ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! gyp ERR! node -v v6.12.2
    ! gyp ERR! node-gyp -v v3.6.0
    ! gyp ERR! not ok
    ! node-pre-gyp ERR! build error
    ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
    ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
    ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
    ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
    ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
    ! node-pre-gyp ERR! System FreeBSD 11.1-STABLE
    ! node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
    ! node-pre-gyp ERR! node -v v6.12.2
    ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    ! node-pre-gyp ERR! not ok
    ! 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 Object.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
    ! gyp ERR! stack at Object. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
    ! gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
    ! gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
    ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
    ! gyp ERR! System FreeBSD 11.1-STABLE
    ! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    ! gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
    ! gyp ERR! node -v v6.12.2
    ! gyp ERR! node-gyp -v v3.6.0
    ! gyp ERR! not ok
    ! 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 Object.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
    ! gyp ERR! stack at Object. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
    ! gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
    ! gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
    ! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
    ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
    ! gyp ERR! System FreeBSD 11.1-STABLE
    ! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    ! gyp ERR! cwd /opt/iobroker/node_modules/ursa
    ! gyp ERR! node -v v6.12.2
    ! gyp ERR! node-gyp -v v3.6.0
    ! gyp ERR! not ok
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport):
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: node-pre-gyp install --fallback-to-build
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: node-gyp rebuild
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    ! Write "service iobroker start" to start the ioBroker
    ! Cannot create file /usr/local/bin/iobroker!. Non critical
    ! -----------------------------------------------------
    ! You can manually copy file into /usr/local/bin/. Just write:
    ! cp /opt/iobroker/node_modules/iobroker/install/iobroker /usr/local/bin/
    ! -----------------------------------------------------
    ! /bin/sh: bash: not found
    ! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
    ! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
    ! /opt/iobroker
    ! -- iobroker@1.0.8 ! -- yargs@7.1.0
    ! +-- camelcase@3.0.0
    ! +-- cliui@3.2.0
    ! | +-- string-width@1.0.2 deduped
    ! | +-- strip-ansi@3.0.1
    ! | | -- ansi-regex@2.1.1 ! | -- wrap-ansi@2.1.0
    ! | +-- string-width@1.0.2 deduped
    ! | -- strip-ansi@3.0.1 deduped ! +-- decamelize@1.2.0 ! +-- get-caller-file@1.0.2 ! +-- os-locale@1.4.0 ! | -- lcid@1.0.0
    ! | -- invert-kv@1.0.0 ! +-- read-pkg-up@1.0.1 ! | +-- find-up@1.1.2 ! | | +-- path-exists@2.1.0 ! | | | -- pinkie-promise@2.0.1 deduped
    ! | | -- pinkie-promise@2.0.1 ! | | -- pinkie@2.0.4
    ! | -- read-pkg@1.1.0 ! | +-- load-json-file@1.1.0 ! | | +-- graceful-fs@4.1.11 ! | | +-- parse-json@2.2.0 ! | | | -- error-ex@1.3.1
    ! | | | -- is-arrayish@0.2.1 ! | | +-- pify@2.3.0 ! | | +-- pinkie-promise@2.0.1 deduped ! | | -- strip-bom@2.0.0
    ! | | -- is-utf8@0.2.1 ! | +-- normalize-package-data@2.4.0 ! | | +-- hosted-git-info@2.5.0 ! | | +-- is-builtin-module@1.0.0 ! | | | -- builtin-modules@1.1.1
    ! | | +-- semver@5.5.0
    ! | | -- validate-npm-package-license@3.0.1 ! | | +-- spdx-correct@1.0.2 ! | | | -- spdx-license-ids@1.2.2
    ! | | -- spdx-expression-parse@1.0.4 ! | -- path-type@1.1.0
    ! | +-- graceful-fs@4.1.11 deduped
    ! | +-- pify@2.3.0 deduped
    ! | -- pinkie-promise@2.0.1 deduped ! +-- require-directory@2.1.1 ! +-- require-main-filename@1.0.1 ! +-- set-blocking@2.0.0 ! +-- string-width@1.0.2 ! | +-- code-point-at@1.1.0 ! | +-- is-fullwidth-code-point@1.0.0 ! | | -- number-is-nan@1.0.1
    ! | -- strip-ansi@3.0.1 deduped ! +-- which-module@1.0.0 ! +-- y18n@3.2.1 ! -- yargs-parser@5.0.0
    ! `-- camelcase@3.0.0 deduped
    ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
    ! npm WARN iobroker No description
    ! npm WARN iobroker No repository field.
    ! npm WARN iobroker No README data
    ! npm WARN iobroker No license field.</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>

    Irgendwo hatte ich mal gelesen, die gyp-fehler seien nicht problematisch. Ist das wirklich so? Oder sollte ich mich um die Behebung kümmern?

    ioBroker auf NUC (Celeron mit Ubuntu-Server)

    Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      Grundsätzlich ist alles was du hier an Fehlern bekommst "OPTIONAL DEPENDECIES". Bedeutet: Bei einigen Adaptern gehen dann ggf spezielle Funktionen nicht.

      Bei Dir fehlt "python", was darauf hinweisst das das "build-essentials" Debian-Paket (oder die äquivalenz dazu) nicht installiert ist. Da einige Adapter Teile enthalten die Dinge kompilieren braucht es bestimmte Tools … die sollte man idealerweise haben, sonst kommt es schnell (je nach geplanten Adaptern) zu problemen und ganze Adapter können nicht installiert werden.

      Es lohnt sich die Fehler anzuschauen und die Ursachen zu beseitigen um es für die Zukunft einfacher zu haben.

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        mrMuppet
        schrieb am zuletzt editiert von
        #3

        Ok. Ich habe jetzt mal git, python und bash installiert und da sind die Fehlermeldungen schon deutlich zurück gegangen (s.u.). Vielleicht mache ich nachher auch mal schnell ein Tutorial für andere FreeNAS nutzer.

        ! # npm install iobroker –unsafe-perm
        ! > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker
        ! > node lib/setup.js
        ! NPM version: 4.6.1
        ! npm install iobroker.discovery --production --save --prefix "/opt/iobroker"
        ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... x64.tar.gz
        ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.12.2 (node-v48 ABI) (falling back to source compile with node-gyp)
        ! ../src/serialport.cpp:90:44: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! return getValueFromObject(options, key)->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:102:44: warning: 'ToNumber' is deprecated [-Wdeprecated-declarations]
        ! return getValueFromObject(options, key)->ToNumber()->NumberValue();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8178:22: note: 'ToNumber' has been explicitly marked deprecated here
        ! Local <number>Value::ToNumber() const {
        ! ^
        ! ../src/serialport.cpp:174:23: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = argv[1]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:193:21: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:217:108: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! baton->baudRate = Nan::Get(options, Nan::Newv8::string("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:252:21: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:369:24: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! baton->fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:480:21: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:528:21: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport.cpp:585:21: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! int fd = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! 10 warnings generated.
        ! ../src/serialport_unix.cpp:44:101: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! result->vmin = Nan::Get(options, Nan::Newv8::string("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! ../src/serialport_unix.cpp:45:103: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! result->vtime = Nan::Get(options, Nan::Newv8::string("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! 2 warnings generated.
        ! ../src/serialport_poller.cpp:86:23: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        ! obj->fd_ = info[0]->ToInt32()->Int32Value();
        ! ^
        ! /root/.node-gyp/6.12.2/include/node/v8.h:8214:21: note: 'ToInt32' has been explicitly marked deprecated here
        ! Local <int32>Value::ToInt32() const {
        ! ^
        ! 1 warning generated.
        ! npm install iobroker.admin –production --save --prefix "/opt/iobroker"
        ! npm install iobroker.js-controller --production --save --prefix "/opt/iobroker"
        ! npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
        ! npm WARN prefer global npm@2.15.12 should be installed with -g
        ! ../src/unix_dgram.cc:53:13: warning: unused function 'SetNonBlock' [-Wunused-function]
        ! inline void SetNonBlock(int fd) {
        ! ^
        ! ../src/unix_dgram.cc:65:13: warning: unused function 'SetCloExec' [-Wunused-function]
        ! inline void SetCloExec(int fd) {
        ! ^
        ! 2 warnings generated.
        ! Write "service iobroker start" to start the ioBroker
        ! Cannot create file /usr/local/bin/iobroker!. Non critical
        ! –---------------------------------------------------
        ! You can manually copy file into /usr/local/bin/. Just write:
        ! cp /opt/iobroker/node_modules/iobroker/install/iobroker /usr/local/bin/
        ! -----------------------------------------------------
        ! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
        ! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
        ! /opt/iobroker
        ! -- iobroker@1.0.8 ! -- yargs@7.1.0
        ! +-- camelcase@3.0.0
        ! +-- cliui@3.2.0
        ! | +-- string-width@1.0.2 deduped
        ! | +-- strip-ansi@3.0.1
        ! | | -- ansi-regex@2.1.1 ! | -- wrap-ansi@2.1.0
        ! | +-- string-width@1.0.2 deduped
        ! | -- strip-ansi@3.0.1 deduped ! +-- decamelize@1.2.0 ! +-- get-caller-file@1.0.2 ! +-- os-locale@1.4.0 ! | -- lcid@1.0.0
        ! | -- invert-kv@1.0.0 ! +-- read-pkg-up@1.0.1 ! | +-- find-up@1.1.2 ! | | +-- path-exists@2.1.0 ! | | | -- pinkie-promise@2.0.1 deduped
        ! | | -- pinkie-promise@2.0.1 ! | | -- pinkie@2.0.4
        ! | -- read-pkg@1.1.0 ! | +-- load-json-file@1.1.0 ! | | +-- graceful-fs@4.1.11 ! | | +-- parse-json@2.2.0 ! | | | -- error-ex@1.3.1
        ! | | | -- is-arrayish@0.2.1 ! | | +-- pify@2.3.0 ! | | +-- pinkie-promise@2.0.1 deduped ! | | -- strip-bom@2.0.0
        ! | | -- is-utf8@0.2.1 ! | +-- normalize-package-data@2.4.0 ! | | +-- hosted-git-info@2.5.0 ! | | +-- is-builtin-module@1.0.0 ! | | | -- builtin-modules@1.1.1
        ! | | +-- semver@5.5.0
        ! | | -- validate-npm-package-license@3.0.1 ! | | +-- spdx-correct@1.0.2 ! | | | -- spdx-license-ids@1.2.2
        ! | | -- spdx-expression-parse@1.0.4 ! | -- path-type@1.1.0
        ! | +-- graceful-fs@4.1.11 deduped
        ! | +-- pify@2.3.0 deduped
        ! | -- pinkie-promise@2.0.1 deduped ! +-- require-directory@2.1.1 ! +-- require-main-filename@1.0.1 ! +-- set-blocking@2.0.0 ! +-- string-width@1.0.2 ! | +-- code-point-at@1.1.0 ! | +-- is-fullwidth-code-point@1.0.0 ! | | -- number-is-nan@1.0.1
        ! | -- strip-ansi@3.0.1 deduped ! +-- which-module@1.0.0 ! +-- y18n@3.2.1 ! -- yargs-parser@5.0.0
        ! `-- camelcase@3.0.0 deduped
        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
        ! npm WARN iobroker No description
        ! npm WARN iobroker No repository field.
        ! npm WARN iobroker No README data
        ! npm WARN iobroker No license field.</int32></int32></v8::string></int32></v8::string></int32></int32></int32></int32></int32></int32></v8::string></int32></int32></number></int32>

        ioBroker auf NUC (Celeron mit Ubuntu-Server)

        Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

        1 Antwort Letzte Antwort
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #4

          Anleitung wäre cool!!

          Die Serialport-Meldungen sind ggf mit der nächsten Version von Discovery weg.

          Die Unix-DGram wohl eher nicht :-(

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Antwort Letzte Antwort
          0
          • D Offline
            D Offline
            DeepCore
            schrieb am zuletzt editiert von
            #5

            Hier mal in Kurz-Form meine Schritt-für-Schritt Installation für Debian 9.3 in einer ESXi 6.5 Virtual-Machine vor rund einer Woche… ioBroker wurde dann ohne Gyp Meldungen installiert :D

            Alles als root ausgeführt …

            apt update
            apt upgrade
            apt install open-vm-tools
            apt install curl
            curl -sL https://deb.nodesource.com/setup_6.x | bash -
            apt install nodejs
            apt install build-essential
            apt install libavahi-compat-libdnssd-dev
            npm install -g node-gyp
            mkdir /opt/iobroker
            chmod 777 /opt/iobroker/
            cd /opt/iobroker/
            npm install iobroker
            

            Dies hier````
            apt install open-vm-tools

            1 Antwort Letzte Antwort
            0
            • M Offline
              M Offline
              mrMuppet
              schrieb am zuletzt editiert von
              #6

              Mist. Hab was wichtiges vergessen: Mein iocage läuft auf FreeNAS, also einem FreeBSD-System. Ich werden noch mal durchgehen, welche Schritte ich übernehmen kann, aber ich vermute die Ähnlichkeiten zu Debian sind da nicht so groß!

              ioBroker auf NUC (Celeron mit Ubuntu-Server)

              Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

              1 Antwort Letzte Antwort
              0
              • A Offline
                A Offline
                andyb
                schrieb am zuletzt editiert von
                #7

                Kann jemand einem Linux Noob erklären was hier alles fehlt. Kommt bei jeder Adapater Installation.

                ! ````
                $ ./iobroker add vis-justgage
                NPM version: 4.6.1
                npm install iobroker.vis-justgage --production --save --prefix "/opt/iobroker" (System call)
                prebuild-install
                WARN install No prebuilt binaries found (target=8.12.0 runtime=node arch=arm platform=linux)
                Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
                ! import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>
                import gyp.input
                File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
                from compiler.ast import Const
                ImportError: No module named compiler.ast
                ! gyp
                ERR! configure error

                gyp ERR! stack Error: gyp failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)

                ! gyp ERR! stack at emitTwo (events.js:126:13)gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                ! gyp ERR! System Linux 4.14.70-sunxigyp
                ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                ! gyp ERR! node -v v8.12.0gyp ERR! node-gyp -v v3.6.0
                gyp ERR! not ok
                ! Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
                ! import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>
                import gyp.input
                File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
                from compiler.ast import Const
                ImportError: No module named compiler.ast
                ! gyp
                ERR! configure error

                gyp ERR!
                stack Error: gyp failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
                gyp ERR! stack at emitTwo (events.js:126:13)
                gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                gyp ERR!
                stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)gyp ERR! System Linux 4.14.70-sunxi

                ! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/winston-syslog/node_modules/unix-dgram
                ! gyp ERR! node -v v8.12.0gyp ERR! node-gyp -v
                v3.6.0gyp ERR! not ok
                ! npm
                WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/authenticate-pam/package.json'npm
                WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt-base/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt-checkbox/package.json'
                npm WARN enoent
                ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt-choices/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt-question/package.json'
                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt-radio/package.json'
                npm WARN
                enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/serialport/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/terminal-paginator/package.json'
                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/unix-dgram/package.json'
                ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@6.2.2 (node_modules/iobroker.discovery/node_modules/serialport):
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@6.2.2 install: prebuild-install || node-gyp rebuildnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/winston-syslog/node_modules/unix-dgram):
                ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuildnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                ! host.orangepiplus2e install adapter vis-justgage
                got /opt/iobroker/node_modules/iobroker.vis-justgage/admin
                upload [1] vis-justgage.admin /opt/iobroker/node_modules/iobroker.vis-justgage/admin/justgage.png justgage.png image/png
                upload [0] vis-justgage.admin /opt/iobroker/node_modules/iobroker.vis-justgage/admin/index.html index.html text/html
                Adapter "system.adapter.vis.0" restarted.
                host.orangepiplus2e object system.adapter.vis-justgage created
                host.orangepiplus2e create instance vis-justgage
                host.orangepiplus2e object system.adapter.vis-justgage.0 created
                process exited with code 0</module></module></module></module></module></module>

                
                Komplett clean neu aufgesetzt.
                
                ARMBIAN 5.60 stable Ubuntu 18.04.1 LTS 4.14.70-sunxi
                
                root@orangepiplus2e:~# node -v
                
                v8.12.0
                
                root@orangepiplus2e:~# npm -v
                
                4.6.1
                1 Antwort Letzte Antwort
                0
                • A Offline
                  A Offline
                  andyb
                  schrieb am zuletzt editiert von
                  #8

                  push :D

                  1 Antwort Letzte Antwort
                  0
                  • StabilostickS Offline
                    StabilostickS Offline
                    Stabilostick
                    schrieb am zuletzt editiert von
                    #9
                     apt-get install python-dev
                    
                    1 Antwort Letzte Antwort
                    0
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate
                    FAQ Cloud / IOT
                    HowTo: Node.js-Update
                    HowTo: Backup/Restore
                    Downloads
                    BLOG

                    547

                    Online

                    32.7k

                    Benutzer

                    82.5k

                    Themen

                    1.3m

                    Beiträge
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Home
                    • Aktuell
                    • Tags
                    • Ungelesen 0
                    • Kategorien
                    • Unreplied
                    • Beliebt
                    • GitHub
                    • Docu
                    • Hilfe