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. Error/Bug
  4. SQL-Adapter 1.9.4. lässt sich nicht installieren: ERROR: Cannot find io-package.json in null

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

SQL-Adapter 1.9.4. lässt sich nicht installieren: ERROR: Cannot find io-package.json in null

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
adapterfehlermeldung
8 Beiträge 4 Kommentatoren 789 Aufrufe 3 Watching
  • Ä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.
  • MatzebhvM Offline
    MatzebhvM Offline
    Matzebhv
    schrieb am zuletzt editiert von
    #1

    Moin,
    habe als Repository latest eingestellt. Seit heute Morgen wird mir der SQL-Adapter 1.9.4 verfügbar angezeigt.

    Ein Update wird allerdings mit einem Fehler quittiert.

    $ ./iobroker upgrade sql
    Update sql from @1.9.2 to @1.9.4
    host.raspberry Adapter "system.adapter.sql.0" is stopped.
    NPM version: 6.5.0
    npm install iobroker.sql@1.9.4 --production --save --prefix "/opt/iobroker" (System call)
    gyp
     ERR! build error 
    gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
    gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
    gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
    gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
    gyp ERR! System Linux 4.9.0-8-amd64
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd
     /opt/iobroker/node_modules/bufferutilgyp ERR! node -v v8.15.0
    gyp
     ERR! node-gyp -v v3.8.0gyp
     ERR! not ok 
    gyp
     ERR! build error 
    gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
    gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
    gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
    gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
    gyp ERR! System Linux 4.9.0-8-amd64
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/diskusage
    gyp ERR! node -v v8.15.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok 
    
    node-pre-gyp
     info it worked if it ends with ok
    node-pre-gyp verb cli [ '/usr/bin/node',node-pre-gyp verb cli   '/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/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.15.0 | linux | x64
    node-pre-gyp verb command install []
    
    node-pre-gyp info check checked for "/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/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-linux-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-linux-x64.tar.gznode-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-x64.tar.gz 
    node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.15.0 (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-linux-x64.tar.gz 
    node-pre-gyp verb command build [ 'rebuild' ]
    
    gyp
     ERR! build error gyp ERR! stack Error: not found: make
    gyp 
    ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
    gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
    gyp
     ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)gyp
     ERR! System Linux 4.9.0-8-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/build/Release"
    gyp
     ERR! cwd /opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialportgyp ERR! node -v v8.15.0
    gyp 
    ERR! node-gyp -v v3.8.0gyp ERR! not ok 
    
    node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/build/Release' (1)
    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:915:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    node-pre-gyp ERR! System Linux 4.9.0-8-amd64
    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport
    node-pre-gyp ERR! node -v v8.15.0
    node-pre-gyp ERR! node-pre-gyp -v v0.6.32
    node-pre-gyp ERR! not ok 
    
    gyp
     ERR! build error 
    gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
    gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
    gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
    gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
    gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
    
    gyp ERR! System Linux 4.9.0-8-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/mdns
    gyp ERR! node -v v8.15.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok 
    
    gyp
     ERR! build error 
    gyp ERR! 
    stack Error: not found: makegyp 
    ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)gyp ERR!
     stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
    gyp ERR! 
    stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16gyp ERR! 
    stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
    gyp
     ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)gyp ERR! System Linux 4.9.0-8-amd64
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/mmmagic
    gyp ERR! node -v v8.15.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok 
    
    npm
     WARN 
    optional
     SKIPPING OPTIONAL DEPENDENCY: browser-serialport@git://github.com/noopkat/browser-serialport.git#api-updates (node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/browser-serialport):
    npm
     
    WARN
     
    optional
     SKIPPING OPTIONAL DEPENDENCY: Error while executing:
    npm
     WARN optional SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/browser-serialport.gitnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: undefined
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No git binary found in $PATH
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: stk500@git://github.com/noopkat/js-stk500v1.git#avrgirl (node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/stk500):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error while executing:
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/js-stk500v1.git
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: undefined
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No git binary found in $PATH
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/avrgirl-arduino/package.json'
    npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
    npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 (node_modules/diskusage):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/iobroker.rflink/node_modules/avrgirl-arduino/node_modules/serialport):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules/mdns):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    
    npm ERR! code ELIFECYCLEnpm ERR! errno 1
    
    npm ERR! mmmagic@0.5.2 install: `node-gyp rebuild`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the mmmagic@0.5.2 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2019-02-25T16_39_57_677Z-debug.log
    
    host.raspberry Adapter "system.adapter.sql.0" is started
    ERROR: Cannot find io-package.json in null
    ERROR: process exited with code 10
    

    Hat das noch wer?

    Gruß
    Matze

    1 Antwort Letzte Antwort
    0
    • D Offline
      D Offline
      dmode
      schrieb am zuletzt editiert von
      #2

      Hi Matze, hi zusammen,

      ich habe das gleiche Problem.
      Ich habe versucht ein Rollback über das Backuptool zu machen. Klappt leider nicht :-(

      Als Newbee bin ich jetzt etwas verzweifelt

      Gruß
      Dirk

      1 Antwort Letzte Antwort
      0
      • surfer09S Offline
        surfer09S Offline
        surfer09
        schrieb am zuletzt editiert von
        #3

        Hi zusammen!

        ich habe das gleiche Problem! Ich wollte den Adapter nach dem Versuch neu installieren, weil er nicht mehr korrekt angezeigt wurde. Jetzt bekomme ich ihn auch nicht neu installiert.

        Gruß surfer

        IO-Broker Master/Slave auf Windows 11 64bit, NPM 10.9.4, Node 22.21.1 js-controller 7.0.7

        1 Antwort Letzte Antwort
        0
        • D Offline
          D Offline
          dmode
          schrieb am zuletzt editiert von
          #4

          Moin zusammen,

          ich glaub das hat mit den (root)rechten zu tun
          ioBroker Installation "Fixer" Beta verfügbar

          ich blicks aber noch nicht :-(
          Gruß
          Dirk

          1 Antwort Letzte Antwort
          0
          • arteckA Offline
            arteckA Offline
            arteck
            Developer Most Active
            schrieb am zuletzt editiert von
            #5

            versuch mal von hinten im Ordner

            /opt/iobroker 
            
            sudo npm install https://github.com/ioBroker/ioBroker.sql
            

            ausführen

            zigbee hab ich, zwave auch, nuc's genauso und HA auch

            1 Antwort Letzte Antwort
            0
            • surfer09S Offline
              surfer09S Offline
              surfer09
              schrieb am zuletzt editiert von
              #6

              Wie würde ich denn unter Windows vorgehen? Ich habe den Adapter gestern komplett gelöscht in der Hoffnung, dass das Teil danach wieder funktioniert. Jetzt bekomme ich ihn aber nicht mehr installiert. Anbei die LOG-Dateien.

              LOG.pdf

              2019-02-26T17_58_48_656Z-debug.log

              IO-Broker Master/Slave auf Windows 11 64bit, NPM 10.9.4, Node 22.21.1 js-controller 7.0.7

              1 Antwort Letzte Antwort
              0
              • MatzebhvM Offline
                MatzebhvM Offline
                Matzebhv
                schrieb am zuletzt editiert von
                #7

                Ich hab im Moment keine Zeit zu basteln, ihr könnt aber jederzeit wieder die funktionierende Version 1.9.2 installieren.
                Experten-Modus ein und über das + die ältere Version installieren.

                Matze

                1 Antwort Letzte Antwort
                0
                • surfer09S Offline
                  surfer09S Offline
                  surfer09
                  schrieb am zuletzt editiert von
                  #8

                  Super, ich danke dir Matze! Ich wusste nicht, wie ich die alte Version wieder installieren kann.
                  Danke für die schnelle Rückmeldung!

                  Gruß surfer :wink:

                  IO-Broker Master/Slave auf Windows 11 64bit, NPM 10.9.4, Node 22.21.1 js-controller 7.0.7

                  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

                  762

                  Online

                  32.5k

                  Benutzer

                  81.7k

                  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