Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Installation auf Macbook Air

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Installation auf Macbook Air

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

      Hallo zusammen,
      Ich habe heute den ganzen Tag versucht, iob zum laufen zu bringen auf einen ausrangierten Macbook Air 2017 (Monterey), leider ohne erfolg.
      Hier ist was ich gemacht habe:

      • Node.js version 16 installiert: https://nodejs.org/download/release/v16.20.2/
      ....@....-MacBook ~ % node -v
      v16.20.2
      
      • im Terminal folgender Befehl ausgeführt:
      curl -sL https://iobroker.net/install.sh | bash -
      
      

      This is what I get:

      library: loaded
      Library version=2024-01-04
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2024-01-04
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Password:
      Error: Running Homebrew as root is extremely dangerous and no longer supported.
      As Homebrew does not drop privileges on installation you would be giving all
      build scripts full access to your system.
      Changing npm registry to https://registry.npmjs.org
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Directory /usr/local/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      npm ERR! code Z_DATA_ERROR
      npm ERR! errno -3
      npm ERR! zlib: incorrect data check
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /Users/hendrik/.npm/_logs/2024-03-02T18_26_37_706Z-debug-0.log
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Reloading service org.ioBroker.LaunchAtLogin
      Autostart enabled!
      mkdir: /root: Read-only file system
      touch: /root/.bashrc: No such file or directory
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://10.0.0.149:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      

      iobroker status bringt:

      ~ % iobroker status
      node:internal/modules/cjs/loader:1031
        throw err;
        ^
      
      Error: Cannot find module '/usr/local/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
          at Function.Module._load (node:internal/modules/cjs/loader:873:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
          at node:internal/main/run_main_module:22:47 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      

      Kann jemanden mich vielleicht helfen bitte, ich komme nicht weiter, habe dies nun öfter deinstalliert udn wieder von neu angefangen, sogar den Mac wieder komplett neu aufgesetzt aber ohne erfolg.

      Update:
      Es stellte sich heraus, dass meine NMP installation corrupt war. Ich habe alles komplett (manuell) deinstalliert und entfernt und dann zuerst Brew installiert. Anschließend mit dem Script

      curl -sL https://iobroker.net/install.sh | bash -
      

      erfolgreich installiert!

      Jedoch etwas scheint noch nicht zu funktionieren.. weil immer wenn ich einen Adapter installieren möchte, bricht dieser ab mit "Fehler 25", aber nicht jedes Mal. Manchmal installiere ich direkt danach nochmal genau der gleiche Adapter und dann funktioniert es! Jedoch bei der Installation von die verschiedene Visualisierungs Adaptern scheitert es jedes mal.. Kann jemanden mich hier weiterhelfen?

      NPM version: 10.2.4
      
      Installing iobroker.vis@1.5.4... (System call)
      
      npm ERR! code EACCESnpm ERR! syscall opennpm ERR! path /usr/local/iobroker/package.jsonnpm ERR! errno -13npm ERR! Error: EACCES: permission denied, open '/usr/local/iobroker/package.json'npm ERR! at async open (node:internal/fs/promises:633:25)npm ERR! at async writeFile (node:internal/fs/promises:1212:14)npm ERR! at async PackageJson.save (/usr/local/lib/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js:249:14)npm ERR! at async [saveIdealTree] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1446:9)npm ERR! at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:176:5)npm ERR! at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:152:5)npm ERR! at async module.exports (/usr/local/lib/node_modules/npm/lib/cli-entry.js:61:5)npm ERR! Error: EACCES: permission denied, open '/usr/local/iobroker/package.json'npm ERR! at async open (node:internal/fs/promises:633:25)npm ERR! at async writeFile (node:internal/fs/promises:1212:14)npm ERR! at async PackageJson.save (/usr/local/lib/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js:249:14)npm ERR! at async [saveIdealTree] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1446:9)npm ERR! at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:176:5)npm ERR! at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:152:5)npm ERR! at async module.exports (/usr/local/lib/node_modules/npm/lib/cli-entry.js:61:5) {npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'open',npm ERR! path: '/usr/local/iobroker/package.json'npm ERR! }npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator.npm ERR! A complete log of this run can be found in: /Users/administrator/.npm/_logs/2024-03-03T21_11_43_769Z-debug-0.loghost.easybookings-MacBook-Air.local Cannot install iobroker.vis@1.5.4: 243
      
      ERROR: Process exited with code 25
      

      Update 2:

      curl -sL https://iobroker.net/fix.sh | bash -
      

      fixed my problems!!!

      da_Woody 1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @piedus last edited by da_Woody

        @piedus sagte in Installation auf Macbook Air:

        Node.js version 18 installiert: https://nodejs.org/download/release/v16.20.2/

        v16.20.2
        

        wo ist 18?

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

        Support us

        ioBroker
        Community Adapters
        Donate

        887
        Online

        31.7k
        Users

        79.7k
        Topics

        1.3m
        Posts

        2
        2
        132
        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