Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehlermeldungen bei Installation mac

    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

    Fehlermeldungen bei Installation mac

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

      hallo, ich versuche iobroker auf meine mac zu installieren. Bekomme aber immer folgende Fehlermeldungen. Hat jemand eine Idee was ich falsch mache?

      Kevins-MacBook-Air:iobroker Kevin$ npm install iobroker --unsafe-perm
      npm ERR! not a package /Users/Kevin/iobroker/iobroker
      npm ERR! addLocal Could not install /Users/Kevin/iobroker/iobroker
      npm ERR! Darwin 16.4.0
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "--unsafe-perm"
      npm ERR! node v6.11.1
      npm ERR! npm  v3.10.10
      npm ERR! path /var/folders/n7/pvs2hkxs31nc36_x74jfbnsc0000gn/T/npm-30014-951e9619/unpack-0b8c21a9/package.json
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall open
      
      npm ERR! enoent ENOENT: no such file or directory, open '/var/folders/n7/pvs2hkxs31nc36_x74jfbnsc0000gn/T/npm-30014-951e9619/unpack-0b8c21a9/package.json'
      npm ERR! enoent ENOENT: no such file or directory, open '/var/folders/n7/pvs2hkxs31nc36_x74jfbnsc0000gn/T/npm-30014-951e9619/unpack-0b8c21a9/package.json'
      npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent 
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /Users/Kevin/iobroker/npm-debug.log
      
      1 Reply Last reply Reply Quote 0
      • supernova1963
        supernova1963 last edited by

        Hallo Kevin,

        ich teste ebenfalls gerade ioBroker unter Mac OS X und habe bei der Installation folgendes festgestellt (nodejs, npm, wie bei dir vorhanden).

        Wie in der Anleitung beschrieben habe ich einen Ordner '/Users/Gernot/iobroker' angelegt und die von Github geladene Datei ioBroker.js-controller-master.zip dahin verschoben.

        Anschließend habe ich den neuen Ordner auf ein neu geöffnetes Terminalfenster gezogen und

        npm install iobroker --unsafe-perm
        

        ausgeführt.

        Ergebnis:

        raunet:iobroker Gernot$ npm install iobroker --unsafe-perm
        
        > iobroker@1.0.0 install /Users/Gernot/node_modules/iobroker
        > node lib/setup.js
        
        npm install iobroker.discovery --production --prefix /Users/Gernot
        npm WARN enoent ENOENT: no such file or directory, open '/Users/Gernot/package.json'
        npm WARN Gernot No description
        npm WARN Gernot No repository field.
        npm WARN Gernot No README data
        npm WARN Gernot No license field.
        npm install iobroker.admin --production --prefix /Users/Gernot
        npm WARN enoent ENOENT: no such file or directory, open '/Users/Gernot/package.json'
        npm WARN Gernot No description
        npm WARN Gernot No repository field.
        npm WARN Gernot No README data
        npm WARN Gernot No license field.
        npm install iobroker.js-controller --production --prefix /Users/Gernot
        clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
        clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
        npm WARN enoent ENOENT: no such file or directory, open '/Users/Gernot/package.json'
        npm WARN Gernot No description
        npm WARN Gernot No repository field.
        npm WARN Gernot No README data
        npm WARN Gernot No license field.
        Non-critical error: EISDIR: illegal operation on a directory, open '/Users/Gernot/node_modules/iobroker/lib/../../../iobroker'
        /Users/Gernot
        └─┬ iobroker@1.0.0 
          └─┬ yargs@7.1.0 
            ├── camelcase@3.0.0 
            ├─┬ cliui@3.2.0 
            │ ├─┬ strip-ansi@3.0.1 
            │ │ └── ansi-regex@2.1.1 
            │ └── wrap-ansi@2.1.0 
            ├── 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 
            │ │   └── 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 
            │   │ └─┬ 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.3.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 
            ├── 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 
            ├── which-module@1.0.0 
            ├── y18n@3.2.1 
            └── yargs-parser@5.0.0 
        
        npm WARN enoent ENOENT: no such file or directory, open '/Users/Gernot/package.json'
        npm WARN Gernot No description
        npm WARN Gernot No repository field.
        npm WARN Gernot No README data
        npm WARN Gernot No license field.
        
        

        Danach sollte ich aus dem neuen Verzeichnis "iobroker" in das Unterverzeichnis 'cd node_modules/iobroker.js-controller' wechseln. Das hat nicht funktioniert, da scheinbar nicht so funktioniert bzw. ich habe etwas falsch verstanden:

        raunet:iobroker Gernot$ cd node_modules/iobroker.js-controller
        -bash: cd: node_modules/iobroker.js-controller: No such file or directory
        

        Das gesuchte Verzeichnis habe ich unter '/Users/Gernot/node_modules/iobroker.js-controller' gefunden. Nicht schön, da die ioBrocker Verzeichnisse alle unter '/Users/Gernot/' direkt angelegt wurden.

        Hinzu kommt, dass ich noch für das Log Verzeichnis die Benutzerrechte anpassen mußte, da der erste Aufruf mit folgendem Fehler endete:

        raunet:iobroker.js-controller Gernot$ node controller.js
        host.raunet.private check instance "system.adapter.admin.0" for host "raunet.private"
        host.raunet.private check instance "system.adapter.discovery.0" for host "raunet.private"
        { Error: EACCES: permission denied, open '/Users/Gernot/log/iobroker.2017-07-23.log'
            at Error (native)
          errno: -13,
          code: 'EACCES',
          syscall: 'open',
          path: '/Users/Gernot/log/iobroker.2017-07-23.log' }
        
        

        Danach hat der Aufruf funktioniert und ich konnte mit den Browser die Admin Seite öffnen …

        Da ich mich frage, ob das so weiter geht, und mir hier im Forum eine VM empfohlen wurde installiere ich jetzt ubuntu Server 17.04 und versuche die Linux Installation.

        LG

        Gernot

        P.S.: Ist keine direkte Fehler Lösung, aber so schiebt sich dein Betrag nochmal nach vorne ...

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

          Auch ich versuche seit Tagen ioBroker auf meinem Mac (Sierra 10.12.6) zu installieren.

          Leider hagelt es auch bei mir Fehlermeldungen.

          Könnte mal bitte jemand prüfen was an der Anleitung falsch ist? (Auch die Verlinkungen zur Downloadquelle fehlt noch immer).

          Irgend etwas muss sich geändert haben, scheinen ja nach andere Probleme zu haben.

          Das wäre wirklich sehr hilfreich 😉

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Hallo und Willkommen im Forum,

            ich bin leider kein Ansprechpartner für Mac, aber
            @thoduh:

            Leider hagelt es auch bei mir Fehlermeldungen. `
            welche?

            @thoduh:

            Könnte mal bitte jemand prüfen was an der Anleitung falsch ist? `
            auch hier: welche?

            @thoduh:

            Auch die Verlinkungen zur Downloadquelle fehlt noch immer `
            Download wofür?

            Gruß

            Rainer

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

              > welche?
              Siehe obere Postings.

              Meine Fehlermeldungen kann ich erst morgen Posten, wird aber das gleiche Problem sein.

              > auch hier: welche?
              Installationsanleitung für Mac von ioBroker auf ioBroker.

              http://www.iobroker.net/docu/?page_id=2293&lang=de

              > Download wofür?
              Link zu ioBroker in der o.g. Anleitung.

              Gruß

              Thomas

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Hallo Thomas,

                wie gesagt besitze ich kein Fallobst und konnte daher damals auch diese Anleitung nicht schreiben, weiß aber auch nichts von Fehlern darin. Aber vielleicht hat sich im Betriebssystem ja etwas getan.

                @thoduh:

                Meine Fehlermeldungen kann ich erst morgen Posten, wird aber das gleiche Problem sein. `
                Werden wir dann ja sehen.

                @thoduh:

                Link zu ioBroker in der o.g. Anleitung. `
                ich denke da ist https://github.com/ioBroker/ioBroker gemeint, und auf den grünen Button, rechts klicken und dann das zip herunterladen.

                Gruß

                Rainer

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

                  Danke, aber den Download habe ich natürlich bereits gefunden 🙂

                  Allerdings ist es für Neulinge nicht einfacher wenn Anleitungen vom Anbieter unvollständig sind. Das wollte ich eigentlich damit sagen. Vielleicht ließt hier einer von ioBroker mit und fixt das mal 😉 Denn woher soll man das denn bitte wissen? Immerhin wurde schon einmal auf dieses Problem von einem anderen User hingewiesen. http://forum.iobroker.net/viewtopic.php?t=2416 So ein Link ist doch eigentlich schnell eingefügt…

                  Ich vermute ebenfalls das sich etwas bei OSX geändert hat, dann sollte aber auch wieder die Anleitung angepasst werden.

                  Werde meine Fehlermeldung morgen mal posten, schade nur, das den zwei vor mir noch keiner geholfen hat.

                  Bin gespannt ob mir jemand helfen kann.

                  Gruß

                  Thomas

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    @thoduh:

                    So ein Link ist doch eigentlich schnell eingefügt… `
                    Ist er!

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      @thoduh:

                      dann sollte aber auch wieder die Anleitung angepasst werden. `
                      dazu muss aber jemand a) es wissen und b) die Lösung haben.

                      Wie gesagt, ich habe keine Äpfel und diejenigen, die es dort laufen haben installieren es nicht täglich neu.

                      Gruß

                      Rainer

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

                        Also, hab schon einiges Versucht, jetzt nochmal von Anfang an, genau nach Anleitung, kommt dieser Fehler:

                        Last login: Tue Jul 25 15:41:48 on ttys001
                        MacMini-LAN:~ MacMini$ cd /Users/MacMini/Documents/ioBroker 
                        MacMini-LAN:ioBroker MacMini$ npm install iobroker --unsafe-perm
                        npm ERR! code ENOSELF
                        npm ERR! Refusing to install package with name "iobroker" under a package
                        npm ERR! also called "iobroker". Did you name your project the same
                        npm ERR! as the dependency you're installing?
                        npm ERR! 
                        npm ERR! For more information, see:
                        npm ERR!     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">npm ERR! A complete log of this run can be found in:
                        npm ERR!     /Users/MacMini/.npm/_logs/2017-07-25T13_44_45_150Z-debug.log
                        MacMini-LAN:ioBroker MacMini$</https:> 
                        

                        Logfile:

                        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@5.3.0
                        3 info using node@v8.2.1
                        4 verbose npm-session 8862e681e9efcc76
                        5 silly install loadCurrentTree
                        6 silly install readLocalPackageData
                        7 http fetch GET 304 https://registry.npmjs.org/iobroker 253ms (from cache)
                        8 silly pacote tag manifest for iobroker@latest fetched in 272ms
                        9 silly install loadIdealTree
                        10 silly install cloneCurrentTreeToIdealTree
                        11 silly install loadShrinkwrap
                        12 silly install loadAllDepsIntoIdealTree
                        13 verbose stack Error: Refusing to install package with name "iobroker" under a package
                        13 verbose stack also called "iobroker". Did you name your project the same
                        13 verbose stack as the dependency you're installing?
                        13 verbose stack
                        13 verbose stack For more information, see:
                        13 verbose stack     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">
                        13 verbose stack     at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:64:14)
                        13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                        13 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
                        13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:18:7
                        13 verbose stack     at hasMinimumFields (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:30:12)
                        13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                        13 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
                        13 verbose stack     at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
                        13 verbose stack     at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:16:5
                        13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
                        13 verbose stack     at Array.forEach (native)
                        13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
                        13 verbose stack     at Array.forEach (native)
                        13 verbose stack     at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
                        13 verbose stack     at module.exports (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:15:3)
                        13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                        14 verbose cwd /Users/MacMini/Documents/ioBroker
                        15 verbose Darwin 16.7.0
                        16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "--unsafe-perm"
                        17 verbose node v8.2.1
                        18 verbose npm  v5.3.0
                        19 error code ENOSELF
                        20 error Refusing to install package with name "iobroker" under a package
                        20 error also called "iobroker". Did you name your project the same
                        20 error as the dependency you're installing?
                        20 error
                        20 error For more information, see:
                        20 error     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">
                        21 verbose exit [ 1, true ]</https:></anonymous></anonymous></anonymous></https:>
                        
                        1 Reply Last reply Reply Quote 0
                        • BuZZy
                          BuZZy last edited by

                          Was hast du runtergeladen?

                          https://github.com/ioBroker/ioBroker.js-controller

                          oder

                          https://github.com/ioBroker/ioBroker ???

                          Sieht für mich aus als hättest du https://github.com/ioBroker/ioBroker runtergeladen..

                          In der Docu ist der falsche Link drin.

                          Versuch bitte mal:

                          Alles löschen was du runtergeladen hast, dann "npm clean" ausführen, dann https://github.com/ioBroker/ioBroker.js … master.zip runterladen. ( NICHT https://github.com/ioBroker/ioBroker/archive/master.zip!!!! )

                          Dann weiter wie in der Docu:
                          ` > einen Ordner „iobroker“ an einem beliebigen Ort erstellen (z.B. unter /User/Dokumente)

                          das .zip-file in diesen Ordner kopieren

                          Im Terminal in den soeben erstellten Ordner (z.B. „ioBroker“) gehen "cd /iobroker".

                          Tipp: Im Terminal cd eintippen und eben erstellten Ordner mir der Maus ins Terminalfenster ziehen.

                          Dann Return drücken.

                          ioBroker installieren "npm install iobroker –unsafe-perm"

                          im Terminal in das Unterverzeichnis iobroker.js-controller wechseln "cd node_modules/iobroker.js-controller"

                          Die Datei iobroker ausführbar machen "chmod +x iobroker"

                          Den Controller starten "node controller.js"

                          Nach der Installation den Browser öffnen und in der Adressleiste http://localhost:8081 eingeben `

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            @BuZZy:

                            In der Docu ist der falsche Link drin. `
                            Sorry, das kommt davon, wenn man mal eben in einem unbekannten Tutorial einen Link einfügt. :oops: :oops: :oops:

                            Habe korrigiert.

                            Hoffentlich korrekt.

                            Gruß

                            Rainer

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

                              OK, jetzt kommt folgendes:

                              MacMini-LAN:ioBroker MacMini$ npm install iobroker --unsafe-perm
                              
                              > iobroker@1.0.0 install /Users/MacMini/Documents/ioBroker/node_modules/iobroker
                              > node lib/setup.js
                              
                              npm install iobroker.discovery --production --prefix /Users/MacMini/Documents/ioBroker
                              node-pre-gyp info it worked if it ends with ok
                              node-pre-gyp verb cli [ '/usr/local/bin/node',
                              node-pre-gyp verb cli   '/Users/MacMini/Documents/ioBroker/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                              node-pre-gyp verb cli   'install',
                              node-pre-gyp verb cli   '--fallback-to-build' ]
                              node-pre-gyp info using node-pre-gyp@0.6.32
                              node-pre-gyp info using node@8.2.1 | darwin | x64
                              node-pre-gyp verb command install []
                              node-pre-gyp info check checked for "/Users/MacMini/Documents/ioBroker/node_modules/serialport/build/Release/serialport.node" (not found)
                              node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz
                              node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz
                              node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz 
                              node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.2.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
                              node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz 
                              node-pre-gyp verb command build [ 'rebuild' ]
                              ../src/serialport.cpp:90:44: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                                return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                                         ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                                         ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9300: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();
                                                    ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                         ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                     ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                  ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                    ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                    ^
                              /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336:21: note: 'ToInt32' has been explicitly marked deprecated here
                              Local <int32>Value::ToInt32() const {
                                                  ^
                              1 warning generated.
                              node-pre-gyp info ok 
                              npm notice created a lockfile as package-lock.json. You should commit this file.
                              npm install iobroker.admin --production --prefix /Users/MacMini/Documents/ioBroker
                              shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                              path.js:1163
                                        cwd = process.cwd();
                                                      ^
                              
                              Error: ENOENT: no such file or directory, uv_cwd
                                  at Object.resolve (path.js:1163:25)
                                  at Function.Module._resolveLookupPaths (module.js:408:17)
                                  at Function.Module._resolveFilename (module.js:480:22)
                                  at Function.Module._load (module.js:437:25)
                                  at Module.require (module.js:513:17)
                                  at require (internal/module.js:11:18)
                                  at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
                                  at Object. <anonymous>(/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3)
                                  at Module._compile (module.js:569:30)
                                  at Object.Module._extensions..js (module.js:580:10)
                              Cannot install as normal user. Try sudo...
                              sudo npm install iobroker.admin --production --prefix /Users/MacMini/Documents/ioBroker
                              shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                              Password:
                              Password:Sorry, try again.
                              
                              path.js:1163
                                        cwd = process.cwd();
                                                      ^
                              
                              Error: ENOENT: no such file or directory, uv_cwd
                                  at Object.resolve (path.js:1163:25)
                                  at Function.Module._resolveLookupPaths (module.js:408:17)
                                  at Function.Module._resolveFilename (module.js:480:22)
                                  at Function.Module._load (module.js:437:25)
                                  at Module.require (module.js:513:17)
                                  at require (internal/module.js:11:18)
                                  at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
                                  at Object. <anonymous>(/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3)
                                  at Module._compile (module.js:569:30)
                                  at Object.Module._extensions..js (module.js:580:10)
                              npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBroker
                              shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                              path.js:1163
                                        cwd = process.cwd();
                                                      ^
                              
                              Error: ENOENT: no such file or directory, uv_cwd
                                  at Object.resolve (path.js:1163:25)
                                  at Function.Module._resolveLookupPaths (module.js:408:17)
                                  at Function.Module._resolveFilename (module.js:480:22)
                                  at Function.Module._load (module.js:437:25)
                                  at Module.require (module.js:513:17)
                                  at require (internal/module.js:11:18)
                                  at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
                                  at Object. <anonymous>(/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3)
                                  at Module._compile (module.js:569:30)
                                  at Object.Module._extensions..js (module.js:580:10)
                              Cannot install as normal user. Try sudo...
                              sudo npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBroker
                              shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                              path.js:1163
                                        cwd = process.cwd();
                                                      ^
                              
                              Error: ENOENT: no such file or directory, uv_cwd
                                  at Object.resolve (path.js:1163:25)
                                  at Function.Module._resolveLookupPaths (module.js:408:17)
                                  at Function.Module._resolveFilename (module.js:480:22)
                                  at Function.Module._load (module.js:437:25)
                                  at Module.require (module.js:513:17)
                                  at require (internal/module.js:11:18)
                                  at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
                                  at Object. <anonymous>(/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3)
                                  at Module._compile (module.js:569:30)
                                  at Object.Module._extensions..js (module.js:580:10)
                              Could not find "/Users/MacMini/Documents/ioBroker/node_modules/iobroker/lib/../../iobroker.js-controller/conf/iobroker-dist.json". Possible iobroker.js-controller was not installed
                              Non-critical error: ENOENT: no such file or directory, mkdir '/Users/MacMini/Documents/ioBroker/node_modules/iobroker/lib/../../../log'
                              + iobroker@1.0.0
                              added 46 packages in 89.892s
                              MacMini-LAN:ioBroker MacMini$</anonymous></anonymous></anonymous></anonymous></int32></int32></v8::string></int32></v8::string></int32></int32></int32></int32></int32></int32></v8::string></int32></int32></number></int32> 
                              

                              Logfile:

                              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.js-controller',
                              1 verbose cli   '--production',
                              1 verbose cli   '--prefix',
                              1 verbose cli   '/Users/MacMini/Documents/ioBroker' ]
                              2 info using npm@5.3.0
                              3 info using node@v8.2.1
                              4 verbose npm-session 5c87be63f17774e9
                              5 silly install loadCurrentTree
                              6 silly install readLocalPackageData
                              7 http fetch GET 304 https://registry.npmjs.org/iobroker.js-controller 396ms (from cache)
                              8 silly pacote tag manifest for iobroker.js-controller@latest fetched in 432ms
                              9 silly install loadIdealTree
                              10 silly install cloneCurrentTreeToIdealTree
                              11 silly install loadShrinkwrap
                              12 silly install loadAllDepsIntoIdealTree
                              13 verbose stack Error: Refusing to install package with name "iobroker.js-controller" under a package
                              13 verbose stack also called "iobroker.js-controller". Did you name your project the same
                              13 verbose stack as the dependency you're installing?
                              13 verbose stack
                              13 verbose stack For more information, see:
                              13 verbose stack     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">
                              13 verbose stack     at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:64:14)
                              13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                              13 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
                              13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:18:7
                              13 verbose stack     at hasMinimumFields (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:30:12)
                              13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                              13 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
                              13 verbose stack     at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
                              13 verbose stack     at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:16:5
                              13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
                              13 verbose stack     at Array.forEach (native)
                              13 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
                              13 verbose stack     at Array.forEach (native)
                              13 verbose stack     at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
                              13 verbose stack     at module.exports (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:15:3)
                              13 verbose stack     at Array. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
                              14 verbose cwd /Users/MacMini/Documents/ioBroker/node_modules/iobroker
                              15 verbose Darwin 16.7.0
                              16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" "/Users/MacMini/Documents/ioBroker"
                              17 verbose node v8.2.1
                              18 verbose npm  v5.3.0
                              19 error code ENOSELF
                              20 error Refusing to install package with name "iobroker.js-controller" under a package
                              20 error also called "iobroker.js-controller". Did you name your project the same
                              20 error as the dependency you're installing?
                              20 error
                              20 error For more information, see:
                              20 error     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">
                              21 verbose exit [ 1, true ]</https:></anonymous></anonymous></anonymous></https:>
                              
                              1 Reply Last reply Reply Quote 0
                              • BuZZy
                                BuZZy last edited by

                                Da scheint auf Github etwas nicht mehr vorhanden zu sein. Siehe 404 Fehler in deinem Log.

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

                                  Das Verzeichnis existiert nicht:

                                  MacMini-LAN:ioBroker MacMini$ cd node_modules/iobroker.js-controlle
                                  -bash: cd: node_modules/iobroker.js-controlle: No such file or directory
                                  MacMini-LAN:ioBroker MacMini$ 
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    Diese 404 (zumindest die die ich auf die schnelle gefunden habe) sind "normal".

                                    Beim serial port wird zuerst versucht ein fertiges Paket zu installieren. Dieses wird für Darwin nicht gefunden (also 404) dann geht die Installation in den build über und bastelt sich das Paket selber.

                                    Also don't panic.

                                    Aber während ich dies tippe kommt mir noch eine Idee, die kann ich aber nur in den Raum stellen, da ich mich mit Äpfeln gar nicht auskenne:

                                    Bei RasPi et al. benötigt die Installation des serialports Root-Rechte. wie wird das Paket unter OS X installiert?

                                    gibt es da auch so etwas wie root oder Administrator-Rechte?

                                    Gruß

                                    Rainer

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

                                      Das wird versucht mit "sudo", wenn ich das richtig sehe:

                                      Cannot install as normal user. Try sudo...
                                      sudo npm install iobroker.admin --production --prefix /Users/MacMini/Documents/ioBroker
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • BuZZy
                                        BuZZy last edited by

                                        Versuch eine Ebene höher zu wechseln "cd .." dann wieder rein in das Verzeichnis mit "cd iobroker"

                                        Dann nochmal die Installation versuchen (eventuell mit sudo)?

                                        Wie oben gesagt:

                                        Der Eintrag "error retrieving current directory: getcwd: cannot access parent directories: No such file or directory"

                                        sagt eigentlich dass das Script nicht weiß wo es gerade ist..

                                        Also raus aus dem Ordner und nochmal rein im gleichen Terminalfenster und dann nochmal die Installation versuchen.

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

                                          Leider auch nicht:

                                          MacMini-LAN:ioBroker MacMini$ cd ..
                                          MacMini-LAN:Documents MacMini$ cd iobroker
                                          MacMini-LAN:iobroker MacMini$ sudo npm install iobroker --unsafe-perm
                                          Password:
                                          
                                          > iobroker@1.0.0 install /Users/MacMini/Documents/ioBroker/node_modules/iobroker
                                          > node lib/setup.js
                                          
                                          npm install iobroker.discovery --production --prefix /Users/MacMini/Documents/ioBroker
                                          node-pre-gyp info it worked if it ends with ok
                                          node-pre-gyp verb cli [ '/usr/local/bin/node',
                                          node-pre-gyp verb cli   '/Users/MacMini/Documents/ioBroker/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                                          node-pre-gyp verb cli   'install',
                                          node-pre-gyp verb cli   '--fallback-to-build' ]
                                          node-pre-gyp info using node-pre-gyp@0.6.32
                                          node-pre-gyp info using node@8.2.1 | darwin | x64
                                          node-pre-gyp verb command install []
                                          node-pre-gyp info check checked for "/Users/MacMini/Documents/ioBroker/node_modules/serialport/build/Release/serialport.node" (not found)
                                          node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz
                                          node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz
                                          node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz 
                                          node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.2.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
                                          node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz 
                                          node-pre-gyp verb command build [ 'rebuild' ]
                                          ../src/serialport.cpp:90:44: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                                            return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                                                     ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                                                     ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9300: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();
                                                                ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                                     ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                                 ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                              ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                                ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336: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();
                                                                ^
                                          /Users/MacMini/.node-gyp/8.2.1/include/node/v8.h:9336:21: note: 'ToInt32' has been explicitly marked deprecated here
                                          Local <int32>Value::ToInt32() const {
                                                              ^
                                          1 warning generated.
                                          node-pre-gyp info ok 
                                          npm install iobroker.admin --production --prefix /Users/MacMini/Documents/ioBroker
                                          npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBroker
                                          npm ERR! code ENOSELF
                                          npm ERR! Refusing to install package with name "iobroker.js-controller" under a package
                                          npm ERR! also called "iobroker.js-controller". Did you name your project the same
                                          npm ERR! as the dependency you're installing?
                                          npm ERR! 
                                          npm ERR! For more information, see:
                                          npm ERR!     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /Users/MacMini/.npm/_logs/2017-07-25T17_31_42_595Z-debug.log
                                          Cannot install as normal user. Try sudo...
                                          sudo npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBroker
                                          npm ERR! code ENOSELF
                                          npm ERR! Refusing to install package with name "iobroker.js-controller" under a package
                                          npm ERR! also called "iobroker.js-controller". Did you name your project the same
                                          npm ERR! as the dependency you're installing?
                                          npm ERR! 
                                          npm ERR! For more information, see:
                                          npm ERR!     <https: docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm="">npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /Users/MacMini/.npm/_logs/2017-07-25T17_31_45_952Z-debug.log
                                          Could not find "/Users/MacMini/Documents/ioBroker/node_modules/iobroker/lib/../../iobroker.js-controller/conf/iobroker-dist.json". Possible iobroker.js-controller was not installed
                                          Write "./iobroker start" to start the ioBroker
                                          Cannot set permissions of /Users/MacMini/Documents/ioBroker/node_modules/iobroker.js-controller/iobroker
                                          You can still manually copy 
                                          Cannot create file /usr/bin/iobroker!. Non critical
                                          
                                          -----------------------------------------------------
                                          You can manually copy file into /usr/bin/. Just write:
                                              sudo cp /Users/MacMini/Documents/ioBroker/node_modules/iobroker/install/iobroker /usr/bin/
                                              sudo chmod 777 /usr/bin/iobroker
                                          -----------------------------------------------------
                                          + iobroker@1.0.0
                                          added 46 packages and removed 167 packages in 92.075s
                                          MacMini-LAN:iobroker MacMini$ cd node_modules/iobroker.js-controller
                                          -bash: cd: node_modules/iobroker.js-controller: No such file or directory
                                          MacMini-LAN:iobroker MacMini$</https:></https:></int32></int32></v8::string></int32></v8::string></int32></int32></int32></int32></int32></int32></v8::string></int32></int32></number></int32> 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • BuZZy
                                            BuZZy last edited by

                                            Okay, ändere mal den Ordnernamen "/Users/MacMini/Documents/ioBroker/" in "/Users/MacMini/Documents/ioBrokermac/" also den ioBroker ordner in ioBrokermac umbennen.

                                            Dann die installation nochmal versuchen. Gibts wieder einen Fehler?

                                            Dann:

                                            Existiert der Ordner iobroker.js-controller in dem neu umbenannten ioBrokermac Ordner?

                                            Wenn ja, diesen auch umbenennen in iobrokermac.js-controller, dann in diesen Ordner reinwechseln und dort "sudo npm install iobroker.js-controller –production --prefix /Users/MacMini/Documents/ioBrokermac"

                                            oder eventuell

                                            "sudo npm install iobrokermac.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac"

                                            oder eventuell

                                            "sudo npm install iobroker.js-controller --production"

                                            oder eventuell

                                            "sudo npm install iobrokermac.js-controller --production" ... 😄 Versuch macht kluch.. Oder wie heißt es so schön? 😄

                                            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

                                            747
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            114
                                            13455
                                            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