Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. piedus

    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

    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    piedus

    @piedus

    0
    Reputation
    9
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    piedus Follow

    Latest posts made by piedus

    • RE: ERROR: Process exited with code 25 nach nodes Update 16->18

      @homoran für mich hat der fix auch geholfen. Danke!

      posted in ioBroker Allgemein
      P
      piedus
    • Installation auf Macbook Air

      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!!!

      posted in Installation
      P
      piedus
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo