Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. 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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

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

      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 Reply Last reply Reply Quote 0
      • D
        dmode last edited by

        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 Reply Last reply Reply Quote 0
        • surfer09
          surfer09 last edited by

          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

          1 Reply Last reply Reply Quote 0
          • D
            dmode last edited by

            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 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active last edited by

              versuch mal von hinten im Ordner

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

              ausführen

              1 Reply Last reply Reply Quote 0
              • surfer09
                surfer09 last edited by

                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

                1 Reply Last reply Reply Quote 0
                • Matzebhv
                  Matzebhv last edited by

                  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 Reply Last reply Reply Quote 0
                  • surfer09
                    surfer09 last edited by

                    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 😉

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    913
                    Online

                    31.8k
                    Users

                    80.0k
                    Topics

                    1.3m
                    Posts

                    adapter fehlermeldung
                    4
                    8
                    606
                    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