Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspi Installation läuft nicht durch

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspi Installation läuft nicht durch

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      EkkiB last edited by

      Weil das fertige Raspi-ioBroker Image auf dem Raspi 2B mit dem OWFS-Adapter nicht funktioniert, habe ich ein "frisches" Betriebssystem abgegriffen :

      2017-06-21-raspbian-jessie.img

      Node ausgetauscht zu :

      pi@ras2:~ $ node -v

      v8.1.3

      pi@ras2:~ $ npm -v

      5.0.3

      Das Kommando "$ sudo npm install iobroker –unsafe-perm" läuft ziemlich lange, um dann so abzustürzen :

      (bekannt ?)

      Write "./iobroker start" to start the ioBroker

      : No such file or directory

      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.

      mdns@2.3.3 install /opt/iobroker/node_modules/mdns

      node-gyp rebuild

      make: Entering directory '/opt/iobroker/node_modules/mdns/build'

      CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o

      In file included from ../src/dns_sd.cpp:1:0:

      ../src/mdns.hpp:32:20: fatal error: dns_sd.h: No such file or directory

      #include <dns_sd.h>^

      compilation terminated.

      dns_sd_bindings.target.mk:150: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed

      make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1

      make: Leaving directory '/opt/iobroker/node_modules/mdns/build'

      gyp ERR! build error

      gyp ERR! stack Error: make failed with exit code: 2

      gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)

      gyp ERR! stack at emitTwo (events.js:125:13)

      gyp ERR! stack at ChildProcess.emit (events.js:213:7)

      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)

      gyp ERR! System Linux 4.9.28-v7+

      gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

      gyp ERR! cwd /opt/iobroker/node_modules/mdns

      gyp ERR! node -v v8.1.3

      gyp ERR! node-gyp -v v3.6.2

      gyp ERR! not ok

      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.

      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):

      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: node-gyp rebuild

      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

      • iobroker@1.0.0

      added 48 packages, removed 53 packages and updated 1 package in 765.723s

      pi@ras2:/opt/iobroker $</dns_sd.h>

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Probier Mal mit node 6 und nicht 8!

        –-----------------------

        Send from mobile device

        1 Reply Last reply Reply Quote 0
        • E
          EkkiB last edited by

          Auf dem fertigen Image ist ja nodejs 6.10.0

          Und da funktioniert der OWFS Adapter nicht. Deswegen der Versuch mit einer neueren Node Version.

          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Dan besser da weiter troubleshooten, es ist bekannt dass node 8 noch einige Probleme verursacht node 6 ist ok für ioBroker und seine Adapter.

            –-----------------------

            Send from mobile device

            1 Reply Last reply Reply Quote 0
            • T
              tesso last edited by

              Mein System wurde mit node8 installiert und es läuft alles.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Support us

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

              716
              Online

              32.0k
              Users

              80.4k
              Topics

              1.3m
              Posts

              3
              5
              1209
              Loading More Posts
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes
              Reply
              • Reply as topic
              Log in to reply
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
              The ioBroker Community 2014-2023
              logo