Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Installation auf MAC

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Installation auf MAC

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

      Lösch nochmal alles, mach "npm clean" und versuch es nochmal.

      macOSX wird unterstützt und Tests laufen automatisch für alle Adapter

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

        Hi,

        habe es gerade auf meinem Mac mit Node 6 getestet und es hat funktioniert. Da kamen zwar ein paar Warnungen wegen nicht installiertem xcode, aber am Ende hat alles geklappt.

        Ich konnte es starten und dann "localhist:8081" aufrufen und es kam die Admin-Oberfläche.

        Es wäre also Interessant wenn Du es nochmals versuchen könntest mit "npm clean" und dann nochmal Verzeichnis Löschen und ein reines install aufrufen.

        Warum hattest Du überhaupt schon iobroker-FIles (deine "ls-Ausgabe) da bevor du npm install gemacht hast?

        Ingo

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

          Ich kann leider MacOS nicht testen, aber bis jetzt hat keine was gesagt.

          Sicherheitsweise habe ich Windows geprüft und da geht. 😄

          Gibt es so was wie root unter OSX?

          P.S. Marty56 arbeitest du bei Infineon?

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

            @Bluefox:

            Ich kann leider MacOS nicht testen

            Gibt es so was wie root unter OSX? `

            Ja gibt es auch wen Apple das Standard nicht erklärt.

            Bin selber Linux/Mac Fanat leider muss ich auf der Arbeit windows benutzen.

            Wen die Community Tests/guidance braucht und MAC Skills sind noch nicht vertreten Kan ich helfen.

            Baue an mehreren Sachen also wen nicht nötig las ich liegen, sagt halt Bescheid dan kann ich darauf einspielen

            Greets

            Dutch

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

            Send from mobile device

            1 Reply Last reply Reply Quote 0
            • P
              pix last edited by

              Hallo,

              Nutze OS X und bin sehr zufrieden. Probier mal, nodejs mit homebrew zu installieren.

              Und bitte nicht MAC, sondern Mac oder OSX oder MacOS. 🙂

              Pix

              1 Reply Last reply Reply Quote 0
              • M
                Marty56 last edited by

                Danke für die Antworten.

                Werde es nochmal versuchen.

                Bei node.js hatte ich die letzte stable release genommen also V 6.10.3 LTS ist das ok?

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

                  @Marty56:

                  Danke für die Antworten.

                  Werde es nochmal versuchen.

                  Bei node.js hatte ich die letzte stable release genommen also V 6.10.3 LTS ist das ok? `
                  Ist ideal.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Marty56 last edited by

                    Hab es nochmal versucht. Leider keine Verbesserung.

                    Mein Vorgehen

                    1. ppm installiert und Path variable gecheckt.

                    2. Aus dem Biobroker GitHub das ZIP file kopiert und mit cd hineingewechselt.

                    3. npm install iobroker –unsafe-perm ausgeführt

                    4. dann bekomme ich das folgende Log File

                    0 info it worked if it ends with ok
                    1 verbose cli [ '/usr/local/bin/node',
                    1 verbose cli   '/usr/local/bin/npm',
                    1 verbose cli   'install',
                    1 verbose cli   'iobroker',
                    1 verbose cli   '--unsafe-perm' ]
                    2 info using npm@3.10.10
                    3 info using node@v6.10.3
                    4 silly loadCurrentTree Starting
                    5 silly install loadCurrentTree
                    6 silly install readLocalPackageData
                    7 silly fetchPackageMetaData iobroker
                    8 silly fetchNamedPackageData iobroker
                    9 silly mapToRegistry name iobroker
                    10 silly mapToRegistry using default registry
                    11 silly mapToRegistry registry https://registry.npmjs.org/
                    12 silly mapToRegistry data Result {
                    12 silly mapToRegistry   raw: 'iobroker',
                    12 silly mapToRegistry   scope: null,
                    12 silly mapToRegistry   escapedName: 'iobroker',
                    12 silly mapToRegistry   name: 'iobroker',
                    12 silly mapToRegistry   rawSpec: '',
                    12 silly mapToRegistry   spec: 'latest',
                    12 silly mapToRegistry   type: 'tag' }
                    13 silly mapToRegistry uri https://registry.npmjs.org/iobroker
                    14 verbose request uri https://registry.npmjs.org/iobroker
                    15 verbose request no auth needed
                    16 info attempt registry request try #1 at 07:39:05
                    17 verbose request id ecba236869db67a0
                    18 http request GET https://registry.npmjs.org/iobroker
                    19 http 200 https://registry.npmjs.org/iobroker
                    20 verbose headers { server: 'nginx/1.10.1',
                    20 verbose headers   'content-type': 'application/json',
                    20 verbose headers   'last-modified': 'Mon, 27 Mar 2017 13:30:28 GMT',
                    20 verbose headers   etag: 'W/"58d913f4-8791"',
                    20 verbose headers   'content-encoding': 'gzip',
                    20 verbose headers   'cache-control': 'max-age=300',
                    20 verbose headers   'content-length': '5855',
                    20 verbose headers   'accept-ranges': 'bytes',
                    20 verbose headers   date: 'Fri, 19 May 2017 05:39:06 GMT',
                    20 verbose headers   via: '1.1 varnish',
                    20 verbose headers   age: '0',
                    20 verbose headers   connection: 'keep-alive',
                    20 verbose headers   'x-served-by': 'cache-hhn1520-HHN',
                    20 verbose headers   'x-cache': 'MISS',
                    20 verbose headers   'x-cache-hits': '0',
                    20 verbose headers   'x-timer': 'S1495172347.896928,VS0,VE16',
                    20 verbose headers   vary: 'Accept-Encoding' }
                    21 silly get cb [ 200,
                    21 silly get   { server: 'nginx/1.10.1',
                    21 silly get     'content-type': 'application/json',
                    21 silly get     'last-modified': 'Mon, 27 Mar 2017 13:30:28 GMT',
                    21 silly get     etag: 'W/"58d913f4-8791"',
                    21 silly get     'content-encoding': 'gzip',
                    21 silly get     'cache-control': 'max-age=300',
                    21 silly get     'content-length': '5855',
                    21 silly get     'accept-ranges': 'bytes',
                    21 silly get     date: 'Fri, 19 May 2017 05:39:06 GMT',
                    21 silly get     via: '1.1 varnish',
                    21 silly get     age: '0',
                    21 silly get     connection: 'keep-alive',
                    21 silly get     'x-served-by': 'cache-hhn1520-HHN',
                    21 silly get     'x-cache': 'MISS',
                    21 silly get     'x-cache-hits': '0',
                    21 silly get     'x-timer': 'S1495172347.896928,VS0,VE16',
                    21 silly get     vary: 'Accept-Encoding' } ]
                    22 verbose get saving iobroker to /Users/marty56/.npm/registry.npmjs.org/iobroker/.cache.json
                    23 verbose correctMkdir /Users/marty56/.npm correctMkdir not in flight; initializing
                    24 verbose makeDirectory /Users/marty56/.npm creation not in flight; initializing
                    25 silly makeDirectory /Users/marty56/.npm uid: 501 gid: 20
                    26 silly install normalizeTree
                    27 silly loadCurrentTree Finishing
                    28 silly loadIdealTree Starting
                    29 silly install loadIdealTree
                    30 silly cloneCurrentTree Starting
                    31 silly install cloneCurrentTreeToIdealTree
                    32 silly cloneCurrentTree Finishing
                    33 silly loadShrinkwrap Starting
                    34 silly install loadShrinkwrap
                    35 silly loadShrinkwrap Finishing
                    36 silly loadAllDepsIntoIdealTree Starting
                    37 silly install loadAllDepsIntoIdealTree
                    38 silly rollbackFailedOptional Starting
                    39 silly rollbackFailedOptional Finishing
                    40 silly runTopLevelLifecycles Finishing
                    41 silly install printInstalled
                    42 verbose stack Error: Refusing to install iobroker as a dependency of itself
                    42 verbose stack     at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:53:14)
                    42 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                    42 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
                    42 verbose stack     at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
                    42 verbose stack     at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:16:5
                    42 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
                    42 verbose stack     at Array.forEach (native)
                    42 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
                    42 verbose stack     at Array.forEach (native)
                    42 verbose stack     at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
                    43 verbose cwd /Users/marty56/ioBroker-master
                    44 error Darwin 16.6.0
                    45 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "--unsafe-perm"
                    46 error node v6.10.3
                    47 error npm  v3.10.10
                    48 error code ENOSELF
                    49 error Refusing to install iobroker as a dependency of itself
                    50 error If you need help, you may report this error at:
                    50 error     <https: github.com/npm/issues="">
                    51 verbose exit [ 1, true ]</https:></anonymous>
                    
                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Du musst an sich nix runterlasen sondern nur Verzeichnis anlegen und dann npm install iobroker –unsafe-perm ... Versuch das mal bitte

                      1 Reply Last reply Reply Quote 0
                      • M
                        Marty56 last edited by

                        Danke!!

                        das scheint es gewesen zu sein.

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

                          Manchmal ist einfach besser duck ;-)'viel Spaß beim Spielen!

                          Schreibst du bitte noch "gelöst" ins subject des ersten Posts?! Danke

                          1 Reply Last reply Reply Quote 0
                          • M
                            Marty56 last edited by

                            Ich kann die Web Oberfläche aufrufen und habe auch die Homematic Adaptor installiert.

                            Bei der Installation gab es Probleme mit XCODE und ich habe Warnungen bei der Installation der Adaptor bekommen.

                            Es scheint aber zu funktionieren.

                            Dann ich diese XCODE Warnungen ignorieren?

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

                              Meine aktuelle Erkenntnis ist ja … auf Linux und windows gibs bestimmte Pakete die Compilerkomponenten installieren um das alles sicherzustellen das alle Tools da sind falls npm Dinge selbst kompilieren will. Wenn es Fehler wären würde Installation abbrechen, daher gehe ich davon aus das Warnungen alle ok sind und ggf. optionale Teile nicht installiert wurden (z.b. Syslog DGram Support und sowas). Ich schaue mal ob ich was finde.

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

                                Google sagt … Xcode aus App Store installieren und dann commandline Tools mit xcode-select --install installieren, dann sollte Build Kram final tun. Denke das du es aber nur für Adapter brauchst die spezielle libraries nutzen wie serielle Kommunikation und sowass

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

                                  Also …

                                  Nach Installation vom XCode per App-Store braucht es:

                                  xcode-select -- install
                                  sudo xcodebuild -license
                                  
                                  

                                  Dann bleiben nur noch diese Warnungen:

                                  clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
                                  

                                  Die sind aber nicht wild und muss ggf edie Library-Owner von den verursachenden Libs fixen

                                  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

                                  429
                                  Online

                                  32.0k
                                  Users

                                  80.4k
                                  Topics

                                  1.3m
                                  Posts

                                  5
                                  16
                                  2316
                                  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