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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Fehlermeldungen bei Installation mac

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    484

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

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

Fehlermeldungen bei Installation mac

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

    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 Antwort Letzte Antwort
    0
    • BuZZyB Offline
      BuZZyB Offline
      BuZZy
      schrieb am zuletzt editiert von
      #18

      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 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        thoduh
        schrieb am zuletzt editiert von
        #19

        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 Antwort Letzte Antwort
        0
        • BuZZyB Offline
          BuZZyB Offline
          BuZZy
          schrieb am zuletzt editiert von
          #20

          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" ... :D Versuch macht kluch.. Oder wie heißt es so schön? :D

          1 Antwort Letzte Antwort
          0
          • HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #21

            Es kann sich hier auch um Zugriffsrechte handeln.

            Bei der ioBroker Installation auf Linux muss der Ordner iobroker ALLE Rechte (777) haben.

            Gruß

            Rainer

            kein Support per PN! - Fragen im Forum stellen -
            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • BuZZyB Offline
              BuZZyB Offline
              BuZZy
              schrieb am zuletzt editiert von
              #22

              Momentan sehe ich keine Probleme außer
              ` > 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 macht manchmal Probleme wenn der Ordnername der gleiche ist wie der von dem Paket welches installiert werden soll. Deswegen bitte nochmal meine Tipps von http://forum.iobroker.net/viewtopic.php?f=17&t=7343#p76997 ausprobieren und dann nochmal hier berichten wie es aussieht - wobei es natürlich nie schadet die Rechte auf 777 zu setzen. :D

              Gruß

              1 Antwort Letzte Antwort
              0
              • T Offline
                T Offline
                thoduh
                schrieb am zuletzt editiert von
                #23

                Erst mal Danke für deine Bemühungen ;)

                Ordner umbenannt in iobrokermac, installation mit sudo npm install iobroker –unsafe-perm

                MacMini-LAN:ioBrokermac MacMini$ sudo npm install iobroker --unsafe-perm
                Password:
                
                > iobroker@1.0.0 install /Users/MacMini/Documents/ioBrokermac/node_modules/iobroker
                > node lib/setup.js
                
                npm install iobroker.discovery --production --prefix /Users/MacMini/Documents/ioBrokermac
                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/ioBrokermac/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/ioBrokermac/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/ioBrokermac
                npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac
                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-26T13_59_40_371Z-debug.log
                Cannot install as normal user. Try sudo...
                sudo npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac
                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-26T13_59_42_345Z-debug.log
                Could not find "/Users/MacMini/Documents/ioBrokermac/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/ioBrokermac/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/ioBrokermac/node_modules/iobroker/install/iobroker /usr/bin/
                    sudo chmod 777 /usr/bin/iobroker
                -----------------------------------------------------
                + iobroker@1.0.0
                removed 329 packages and updated 1 package in 86.429s
                MacMini-LAN:ioBrokermac MacMini$</https:></https:></int32></int32></v8::string></int32></v8::string></int32></int32></int32></int32></int32></int32></v8::string></int32></int32></number></int32> 
                

                installation mit sudo npm install iobrokermac.js-controller –production --prefix /Users/MacMini/Documents/ioBrokermac

                MacMini-LAN:ioBrokermac MacMini$ sudo npm install iobrokermac.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac
                npm ERR! code E404
                npm ERR! 404 Not Found: iobrokermac.js-controller@latest
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /Users/MacMini/.npm/_logs/2017-07-26T14_02_24_890Z-debug.log
                MacMini-LAN:ioBrokermac MacMini$ 
                

                installation mit sudo npm install iobroker.js-controller –production

                MacMini-LAN:ioBrokermac MacMini$ sudo npm install iobroker.js-controller --production
                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-26T14_03_43_461Z-debug.log
                MacMini-LAN:ioBrokermac MacMini$</https:> 
                

                installation mit sudo npm install iobrokermac.js-controller –production

                MacMini-LAN:ioBrokermac MacMini$ sudo npm install iobrokermac.js-controller --production
                npm ERR! code E404
                npm ERR! 404 Not Found: iobrokermac.js-controller@latest
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /Users/MacMini/.npm/_logs/2017-07-26T14_05_40_972Z-debug.log
                MacMini-LAN:ioBrokermac MacMini$ 
                
                
                1 Antwort Letzte Antwort
                0
                • BuZZyB Offline
                  BuZZyB Offline
                  BuZZy
                  schrieb am zuletzt editiert von
                  #24

                  Dann benenne den Ordner iobroker.js-controller um in iobrokermac.js-controller dann in den Ordner iobrokermac.js-controller rein gehen

                  und versuchen zu installieren mit

                  sudo npm install iobroker.js-controller –production (ohne das Mac im Namen)

                  Welche Ausgabe bekommst du dann? Ich denke wir nähern uns bald dem Ziel.. Eine paar Ideen hätte ich noch wenn das auch nicht klappt. :D

                  Von unterwegs gesendet

                  1 Antwort Letzte Antwort
                  0
                  • T Offline
                    T Offline
                    thoduh
                    schrieb am zuletzt editiert von
                    #25

                    Also jetzt hast du mich abgehängt, den Ordner iobroker.js-controller gibt es doch eben gar nicht :?:

                    1 Antwort Letzte Antwort
                    0
                    • BuZZyB Offline
                      BuZZyB Offline
                      BuZZy
                      schrieb am zuletzt editiert von
                      #26

                      Existiert der Ordner /Users/MacMini/Documents/ioBrokermac/node_modules/ ??

                      Eventuell befindet sich der Ordner node_modules auch in irgend einem von den übergeordneten Ordnern?

                      1 Antwort Letzte Antwort
                      0
                      • T Offline
                        T Offline
                        thoduh
                        schrieb am zuletzt editiert von
                        #27

                        ja, den Ordner gibt es.

                        1 Antwort Letzte Antwort
                        0
                        • BuZZyB Offline
                          BuZZyB Offline
                          BuZZy
                          schrieb am zuletzt editiert von
                          #28

                          und welche Ordner sind in diesem node_modules Ordner enthalten?

                          1 Antwort Letzte Antwort
                          0
                          • HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #29

                            welches nodejs hast du eigentlich installiert?

                            Gruß

                            Rainer

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • T Offline
                              T Offline
                              thoduh
                              schrieb am zuletzt editiert von
                              #30

                              @BuZZy:

                              und welche Ordner sind in diesem node_modules Ordner enthalten? `
                              3149_bildschirmfoto_2017-07-26_um_18.57.46.png

                              1 Antwort Letzte Antwort
                              0
                              • BuZZyB Offline
                                BuZZyB Offline
                                BuZZy
                                schrieb am zuletzt editiert von
                                #31

                                https://github.com/ioBroker/ioBroker.js … master.zip runterladen, in den Ordner rein und dann in dem Ordner

                                npm install iobroker.js-controller –production --prefix /Users/MacMini/Documents/ioBrokermac

                                1 Antwort Letzte Antwort
                                0
                                • T Offline
                                  T Offline
                                  thoduh
                                  schrieb am zuletzt editiert von
                                  #32

                                  Die gezippte Datei in den nodes_modules Ordner?

                                  1 Antwort Letzte Antwort
                                  0
                                  • BuZZyB Offline
                                    BuZZyB Offline
                                    BuZZy
                                    schrieb am zuletzt editiert von
                                    #33

                                    Die Zip Datei in den Ordner ioBrokermac dann rein in den Zip Ordner und da dann

                                    npm install iobroker.js-controller –production --prefix /Users/MacMini/Documents/ioBrokermac

                                    1 Antwort Letzte Antwort
                                    0
                                    • T Offline
                                      T Offline
                                      thoduh
                                      schrieb am zuletzt editiert von
                                      #34

                                      Wenn die Zipdatei angeklickt wird, öffnet sich der Download-Ordner…

                                      Last login: Wed Jul 26 18:33:21 on ttys001
                                      MacMini-LAN:~ MacMini$ cd /Users/MacMini/Downloads/ioBroker.js-controller-master\ 2 
                                      MacMini-LAN:ioBroker.js-controller-master 2 MacMini$ npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac
                                      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-26T17_16_46_223Z-debug.log
                                      MacMini-LAN:ioBroker.js-controller-master 2 MacMini$ sudo npm install iobroker.js-controller --production --prefix /Users/MacMini/Documents/ioBrokermac
                                      Password:
                                      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-26T17_17_01_883Z-debug.log
                                      MacMini-LAN:ioBroker.js-controller-master 2 MacMini$</https:></https:> 
                                      

                                      Der Inhalt des iobrokermac-Ordners entspricht doch dem Inhalt der Zipdatei :?:

                                      1 Antwort Letzte Antwort
                                      0
                                      • BuZZyB Offline
                                        BuZZyB Offline
                                        BuZZy
                                        schrieb am zuletzt editiert von
                                        #35

                                        Bald raste ich aus.. :D

                                        Nächster Versuch:

                                        npm install https://github.com/ioBroker/ioBroker/tarball/master --unsafe-perm
                                        
                                        1 Antwort Letzte Antwort
                                        0
                                        • T Offline
                                          T Offline
                                          thoduh
                                          schrieb am zuletzt editiert von
                                          #36

                                          @BuZZy:

                                          Bald raste ich aus.. :D `
                                          Frag mich mal ;)

                                          MacMini-LAN:~ MacMini$ cd /Users/MacMini/Documents/iobrokermac 
                                          MacMini-LAN:iobrokermac MacMini$ sudo npm install https://github.com/ioBroker/ioBroker/tarball/master
                                          
                                          > iobroker@1.0.0 install /Users/MacMini/Documents/iobrokermac/node_modules/iobroker
                                          > node lib/setup.js
                                          
                                          npm install iobroker.discovery --production --prefix /Users/MacMini/Documents/iobrokermac
                                          npm ERR! path /Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs
                                          npm ERR! code EACCES
                                          npm ERR! errno -13
                                          npm ERR! syscall rmdir
                                          npm ERR! Error: EACCES: permission denied, rmdir '/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs'
                                          npm ERR!  { Error: EACCES: permission denied, rmdir '/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs'
                                          npm ERR!   cause: 
                                          npm ERR!    { Error: EACCES: permission denied, rmdir '/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs'
                                          npm ERR!      errno: -13,
                                          npm ERR!      code: 'EACCES',
                                          npm ERR!      syscall: 'rmdir',
                                          npm ERR!      path: '/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs' },
                                          npm ERR!   stack: 'Error: EACCES: permission denied, rmdir \'/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs\'',
                                          npm ERR!   errno: -13,
                                          npm ERR!   code: 'EACCES',
                                          npm ERR!   syscall: 'rmdir',
                                          npm ERR!   path: '/Users/MacMini/Documents/iobrokermac/node_modules/iobroker/node_modules/yargs',
                                          npm ERR!   parent: 'iobroker.js-controller' }
                                          npm ERR! 
                                          npm ERR! Please try running this command again as root/Administrator.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /Users/MacMini/.npm/_logs/2017-07-26T17_40_08_563Z-debug.log
                                          Cannot install as normal user. Try sudo...
                                          sudo npm install iobroker.discovery --production --prefix /Users/MacMini/Documents/iobrokermac
                                          
                                          
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          531

                                          Online

                                          32.7k

                                          Benutzer

                                          82.5k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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