Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. I-Broker unter Windows 10 VM

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    I-Broker unter Windows 10 VM

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

      Ein Hallo an die Gemeinde,

      leider bin ich blutiger Anfänger und habe einiges über den I-Broker gelesen und hätte diesen nun auch gerne bei mir auf einer VM auf meiner Qnap installiert. Ja ich weiß das Linux, Docker und Konsorten besser wäre, aber um mir erst einmal ein Bild zu machen dachte ich mir es wäre die schnellste Variante Windows zu wählen. Leider falsch gedacht :-(, ich bekomme es nicht einmal unter Windows hin.

      Wie es hier sehr schön beschrieben ist … "http://www.iobroker.net/docu/?page_id=2291&lang=de" so habe ich es gemacht (Automatische Variante). Aber leider funktioniert es nicht. Folgenden Installer von der I-Broker-Seite habe ich hergenommen "ioBroker-Installer für Windows v0.8.0

      Internetzugang ist bei der Installation erforderlich." Mich wundert es das dieser von 2016 ist. Ehrlich gesagt weiß ich nicht mehr weiter und benötige einen Anstoß, damit ich wieder in Fahrt komme :-).

      Folgende Fehlermeldungen bekomme ich und es wurde auch kein Windows- Dienst angelegt.

      C:\ioBroker>npm install --global --production windows-build-tools

      npm WARN engine windows-build-tools@5.0.0: wanted: {"node":">=8.0.0"} (current: {"node":"4.5.0","npm":"2.15.9"})

      npm WARN engine fs-extra@7.0.1: wanted: {"node":">=6 <7 || >=8"} (current: {"node":"4.5.0","npm":"2.15.9"})

      npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"4.5.0","npm":"2.15.9"})

      npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.5.0","npm":"2.15.9"})

      windows-build-tools@5.0.0 postinstall C:\Users\Glen\AppData\Roaming\npm\node_modules\windows-build-tools

      node ./dist/index.js

      C:\Users\Glen\AppData\Roaming\npm\node_modules\windows-build-tools\dist\compatible.js:4

      const { warn } = require('./logging');

      ^

      SyntaxError: Unexpected token {

      at exports.runInThisContext (vm.js:53:16)

      at Module._compile (module.js:373:25)

      at Object.Module._extensions..js (module.js:416:10)

      at Module.load (module.js:343:32)

      at Function.Module._load (module.js:300:12)

      at Module.require (module.js:353:17)

      at require (internal/module.js:12:17)

      at Object. <anonymous>(C:\Users\Glen\AppData\Roaming\npm\node_modules\windows-build-tools\dist\index.js:6:1)

      at Module._compile (module.js:409:26)

      at Object.Module._extensions..js (module.js:416:10)

      npm ERR! Windows_NT 10.0.17134

      npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "--production" "windows-build-tools"

      npm ERR! node v4.5.0

      npm ERR! npm v2.15.9

      npm ERR! code ELIFECYCLE

      npm ERR! windows-build-tools@5.0.0 postinstall: node ./dist/index.js

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the windows-build-tools@5.0.0 postinstall script 'node ./dist/index.js'.

      npm ERR! This is most likely a problem with the windows-build-tools package,

      npm ERR! not with npm itself.

      npm ERR! Tell the author that this fails on your system:

      npm ERR! node ./dist/index.js

      npm ERR! You can get information on how to open an issue for this project with:

      npm ERR! npm bugs windows-build-tools

      npm ERR! Or if that isn't available, you can get their info via:

      npm ERR!

      npm ERR! npm owner ls windows-build-tools

      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:

      npm ERR! C:\ioBroker\npm-debug.log

      C:\ioBroker>

      Es wäre super wenn mir jemand helfen könnte.

      Vielen Dank...</anonymous>

      1 Reply Last reply Reply Quote 0
      • Q
        Qlink last edited by

        guck mal hier: viewtopic.php?f=17&t=19150&sid=b03c7f53 … 649108d545

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Node 4 ist EOL … mindestens node 6 (dann aber achtung npm updaten auf latest 6.4.x), besser node 8. Dann sollte es auch tun

          1 Reply Last reply Reply Quote 0
          • Stammtisch
            Stammtisch last edited by

            Hi Danke für die schnelle Antwort,

            es gibt viele 8er Versionen. Welche kann ich davon nehmen?

            1 Reply Last reply Reply Quote 0
            • ruhr70
              ruhr70 last edited by

              Ich würde die aktuellste 8er nehmen.

              1 Reply Last reply Reply Quote 0
              • Thisoft
                Thisoft last edited by

                Ich habe gerade mal eine Testinstallation mit der neuen Installationsroutine gemacht.

                Hinweis an @apollon77: ` und das ioBroker-Team:

                Die neue Windows-Installationsroutine installiert zuerst NPM 2.15.9 und NodeJS 4.5.0 und beschwert sich dann im nächsten Schritt darüber dass mindestens Node v8.x erforderlich ist. Wenn man die Installations-exe normal aufruft sieht man davon nichts weil das Fenster da längst schon geschlossen ist. Das müsste mal korrigiert werden.

                Die anschließende manuelle Installation mit

                1.NodeJS installieren

                2.Pfad "C:\ioBroker" anlegen

                3.Konsole in diesem Ordner öffnen und "npm install iobroker" ausführen

                4.Lesen was dann noch so in der Konsole ausgegeben wird und

                5.die entsprechenden Befehle ausführen

                hat tadellos funktioniert. ioBroker wurde als Dienst installiert und auch der Autostart hat funktioniert.

                1 Reply Last reply Reply Quote 0
                • Stammtisch
                  Stammtisch last edited by

                  Danke für die Antworten.

                  @Thisoft: Deine Antwort habe ich jetzt zu spät gesehen. Ja der Installer sollte wirklich erneuert werden oder verschwinden :-). Ein Tag ist jetzt weg, aber wozu hat man Urlaub.

                  Ich habe es mit dieser Anleitung hinbekommen https://iobroker.github.io/ioBroker.doc … ll/windows

                  Local auf der VM kann ich iBroker öffnen, aber von einem Windows- Client im Netz bekomme ich keine Verbindung hin, kann die IP der VM aber pingen.

                  Weiß da vielleicht noch jemand zu Bescheid?

                  1 Reply Last reply Reply Quote 0
                  • Stammtisch
                    Stammtisch last edited by

                    Eine Frage habe ich noch fürs nächste mal.

                    Sind deine 5 Punkte für eine Installation ausreichend?

                    1.NodeJS installieren

                    2.Pfad "C:\ioBroker" anlegen

                    3.Konsole in diesem Ordner öffnen und "npm install iobroker" ausführen

                    4.Lesen was dann noch so in der Konsole ausgegeben wird und

                    5.die entsprechenden Befehle ausführen

                    Verstehe bei der ganzen Sache nicht wo der IBroker Installer herkommen soll, sorry bin dafür zu blöd.

                    1 Reply Last reply Reply Quote 0
                    • Thisoft
                      Thisoft last edited by

                      @Stammtisch:

                      Eine Frage habe ich noch fürs nächste mal.

                      Sind deine 5 Punkte für eine Installation ausreichend?

                      Verstehe bei der ganzen Sache nicht wo der IBroker Installer herkommen soll, sorry bin dafür zu blöd. `

                      Ja, sind ausreichend. Der eigentliche ioBroker wird mit 3."npm install iobroker" direkt von github installiert.

                      @Stammtisch:

                      Local auf der VM kann ich iBroker öffnen, aber von einem Windows- Client im Netz bekomme ich keine Verbindung hin, kann die IP der VM aber pingen. `
                      Da solltest du dich mal mit deiner Firewall beschäftigen. Da muss mindestens Port 8081 und 8082 und je nach Installationsumfang evtl. auch noch paar andere offen sein.

                      1 Reply Last reply Reply Quote 0
                      • Stammtisch
                        Stammtisch last edited by

                        Super danke,

                        ja das war die Firewall 🙂

                        Funktioniert und jetzt habe ich das auch mit dem Installer verstanden 😉

                        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

                        666
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        5
                        10
                        1219
                        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