Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter minuvis 2.x

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    202

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

Test Adapter minuvis 2.x

Test Adapter minuvis 2.x

Scheduled Pinned Locked Moved Tester
visualisationvisualisierung
125 Posts 15 Posters 18.2k Views 15 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F flisse

    @svallant
    Für meinen Fall wäre es optimal, wenn man einzelne Cards ausblenden könnte. Wenn das zunächst mit Pages funktioniert, wäre das aber auch schon klasse.

    SVallantS Offline
    SVallantS Offline
    SVallant
    wrote on last edited by
    #102

    @flisse @ilovegym
    https://github.com/minukodu/ioBroker.minuvis
    Version 2.3.3 bietet:

    • invisible for textinput-widget
    • invisible for dropdown-widget
    • invisible for valueswitcher-widget
    • disabled for textinput-widget
    • disabled for dropdown-widget
    • disabled for valueswitcher-widget

    probiert es bitte mal aus, spätere Erweiterung auf andere Widgets nicht ausgeschlossen ...

    F 1 Reply Last reply
    0
    • SVallantS SVallant

      @flisse @ilovegym
      https://github.com/minukodu/ioBroker.minuvis
      Version 2.3.3 bietet:

      • invisible for textinput-widget
      • invisible for dropdown-widget
      • invisible for valueswitcher-widget
      • disabled for textinput-widget
      • disabled for dropdown-widget
      • disabled for valueswitcher-widget

      probiert es bitte mal aus, spätere Erweiterung auf andere Widgets nicht ausgeschlossen ...

      F Offline
      F Offline
      flisse
      wrote on last edited by
      #103

      @svallant Gerade mal getestet, haut wunderbar hin. Was Top wäre: Auswahl, ob der state true oder false sein muss für das Ausblenden des Widgets. Macht gerade bei Umschaltern Sinn, weil man sich dann nicht 2 Variablen erstellen muss. Und cool wäre es, wenn ganze Cards invisible geschaltet werden könnten.

      1 Reply Last reply
      0
      • SVallantS SVallant
        Aktuelle Test Version v2.2.1
        Veröffentlichungsdatum 03.11.2021
        Github Link https://github.com/minukodu/ioBroker.minuvis/tree/V221

        das ist die Version 2 von minuvis
        wer gefahrlos testen will, kann das hier tun: http://v2.builder.minukodu.de/
        Achtung, momentan nur mit Firefox möglich (18.10.2021)
        siehe https://forum.iobroker.net/topic/43114/test-adapter-minuvis-2-x/52

        Trotzdem bitte vorher ein Backup machen.
        Konfigurationen von V1 werden automatisch (nach Layout-Rückfrage) umgewandelt

        Die Neuheiten dieser Version sind:

        • neues Raster mit 18 Spalten; jedes Widget geht über x Spalten und y Reihen
        • Widgets-Rahmen ab-/anwählbar
        • keine automatische Anpassung an die Bildschirmbreite; eventuell sind nun mehrere Konfigurationen notwendig (z.B. für Smartphone und Tablet)
        • title und title-Icon entfällt, kann mit headline-Widget (nun mit einstellbarer Schriftgrösse) erstellt werden
        • import-Funktion von V1-Konfigurationen
        • neues Card-Widget zur Aufnahme von anderen Widgets
        • neuer imgbutton-Widgets (Taster mit Bild als Hintergrund)
        • neues Design des donut-Widgets
        • neues datetime-Widget (auch als Analog-Uhr möglich)
        • neues textInput-Widget
        • neuer Banner (Anzeige von Infos auf jeder Seite)
        • global themes: dunkel- und hell-Designs sind eingebaut; einfache Anpassung möglich
        • imgOutput-Widget: url des Bildes kann nun auch dynaisch sein
        • neues schedex-widget
        • neues dropDown-widget
        • neue unicode-emoji-icons
        • timestamp ist jetzt optional
        • link-Button nun auch als externer Link konfigurierbar
        • card- und flot-widget auch modal möglich
        • Grösse von switch- und output-Widget

        Wir bitten um Tests.

        Issues bitte auf Github https://github.com/minukodu/ioBroker.minuvis/issues posten

        Danke

        PS: Für die Version 1 habe ich ein Docker-Image erstellt:
        https://hub.docker.com/r/sepp68/minuvis-image
        Vielleicht könnt das auch mal testen, ist ziemliches Neuland für mich ....

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #104

        @svallant

        Hi,

        mir ist gerade nach dem Update von Web-Adapter auf 6.1.5 aufgefallen, dass die MinuVis nicht mehr aktualisiert... ( also wenn ich ein Schalter betaetige, dann schaltet er zwar um, aber in Minuvis bewegt er sich nicht, ich muss die Seite aktualisieren von Hand, dann sehe ich, was eingeschaltet ist... )

        hat das noch jemand??

        Mit Web-Adapter Version 6.1.4 funktioniert alles wieder... Ist das n Issue fuern Web-Adapter oder bei Minuvis?

        Edit: hab mal n Issue beim Web-Adapter aufgemacht..

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flisse
          wrote on last edited by flisse
          #105

          Kann man eigentlich z.B. die Schriftart bei einzelnen Widgets in Global CSS anpassen?
          Bsp.: Ich habe ein html Widget mit der UUID 6aa0a471-db5e-4606-9aeb-6de869793a74
          Speziell für dieses Widget möchte ich eine größere Schriftart haben, andere html-Widgets sollen mit normalgroßer Schrift erscheinen. Geht das oder muss ich mir hierfür in iobroker ein eigenes Objekt anlegen, indem ich die Schrift usw. in html deklariere?

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flisse
            wrote on last edited by
            #106

            Hallo,
            ich beschäftige mich aktuell mit der Alarmfunktion Minuaru.
            Die funktioniert auch super, wird auf der minuvis angezeigt und Telegram-Meldungen bekomme ich auch.
            Mit dem Telegram-Meldungen kommen auch immer grüne Haken mitgeschickt. Sind die dafür gedacht, die Meldung über Telegram zu quittieren?
            Betätige ich den Haken, stürzt die Minuaru-Instanz ab.
            Im Log steht dann:

            minuaru.0
            2024-05-02 05:44:52.266	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
            
            minuaru.0
            2024-05-02 05:44:52.265	info	terminating
            
            minuaru.0
            2024-05-02 05:44:52.263	error	Cannot read properties of undefined (reading 'log')
            
            minuaru.0
            2024-05-02 05:44:52.262	error	TypeError: Cannot read properties of undefined (reading 'log') at Object.cb (/opt/iobroker/node_modules/iobroker.minuaru/main.js:548:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8384:45) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/build/lib/states/statesInRedisClient.js:270:37) at process.processImmediate (node:internal/timers:476:21)
            
            minuaru.0
            2024-05-02 05:44:52.261	error	unhandled promise rejection: Cannot read properties of undefined (reading 'log')
            
            minuaru.0
            2024-05-02 05:44:52.259	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
            

            Hab ich noch eine Einstellung falsch?

            ? 1 Reply Last reply
            0
            • F flisse

              Hallo,
              ich beschäftige mich aktuell mit der Alarmfunktion Minuaru.
              Die funktioniert auch super, wird auf der minuvis angezeigt und Telegram-Meldungen bekomme ich auch.
              Mit dem Telegram-Meldungen kommen auch immer grüne Haken mitgeschickt. Sind die dafür gedacht, die Meldung über Telegram zu quittieren?
              Betätige ich den Haken, stürzt die Minuaru-Instanz ab.
              Im Log steht dann:

              minuaru.0
              2024-05-02 05:44:52.266	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              
              minuaru.0
              2024-05-02 05:44:52.265	info	terminating
              
              minuaru.0
              2024-05-02 05:44:52.263	error	Cannot read properties of undefined (reading 'log')
              
              minuaru.0
              2024-05-02 05:44:52.262	error	TypeError: Cannot read properties of undefined (reading 'log') at Object.cb (/opt/iobroker/node_modules/iobroker.minuaru/main.js:548:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8384:45) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/build/lib/states/statesInRedisClient.js:270:37) at process.processImmediate (node:internal/timers:476:21)
              
              minuaru.0
              2024-05-02 05:44:52.261	error	unhandled promise rejection: Cannot read properties of undefined (reading 'log')
              
              minuaru.0
              2024-05-02 05:44:52.259	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              

              Hab ich noch eine Einstellung falsch?

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #107

              @flisse
              Minaru hatte ich auch mal ne Weile laufen, war mir dann doch zu instabil.. ist ja auch noch Beta..

              Leider hat sich der @SVallant hier lange nicht mehr blicken lassen..

              SVallantS 1 Reply Last reply
              0
              • ? A Former User

                @flisse
                Minaru hatte ich auch mal ne Weile laufen, war mir dann doch zu instabil.. ist ja auch noch Beta..

                Leider hat sich der @SVallant hier lange nicht mehr blicken lassen..

                SVallantS Offline
                SVallantS Offline
                SVallant
                wrote on last edited by
                #108

                Moin !!!
                ich lebe noch 😁

                Hatte leider wenig Zeit für ioBroker ...
                Aber nun:
                neuer iobroker-Rechner bei mir zuhause ist in Betrieb, ich habe eben den Telegram-Adapter in Betrieb genommen, minuaru läuft auch.
                Der grüne Haken soll zum Quittieren sein, das ist der Plan.
                @flisse Absturz für mich noch nicht nachvollziehbar ...

                hmm, maxche mich mal auf die Suche 🔍

                SVallantS 1 Reply Last reply
                0
                • SVallantS SVallant

                  Moin !!!
                  ich lebe noch 😁

                  Hatte leider wenig Zeit für ioBroker ...
                  Aber nun:
                  neuer iobroker-Rechner bei mir zuhause ist in Betrieb, ich habe eben den Telegram-Adapter in Betrieb genommen, minuaru läuft auch.
                  Der grüne Haken soll zum Quittieren sein, das ist der Plan.
                  @flisse Absturz für mich noch nicht nachvollziehbar ...

                  hmm, maxche mich mal auf die Suche 🔍

                  SVallantS Offline
                  SVallantS Offline
                  SVallant
                  wrote on last edited by
                  #109

                  So, mit der Version von Github sollten die Abstürze nun weg sein
                  https://github.com/minukodu/ioBroker.minuaru

                  Auch das Quittieren funktioniert nun.
                  Könnt ihr das bestätigen ?
                  Danke

                  F 1 Reply Last reply
                  0
                  • SVallantS SVallant

                    So, mit der Version von Github sollten die Abstürze nun weg sein
                    https://github.com/minukodu/ioBroker.minuaru

                    Auch das Quittieren funktioniert nun.
                    Könnt ihr das bestätigen ?
                    Danke

                    F Offline
                    F Offline
                    flisse
                    wrote on last edited by
                    #110

                    @svallant
                    So, bin aus dem Urlaub zurück und habe mit Freude gelesen, dass du da weiter dran gearbeitet hast, danke dafür.
                    Ich bekomme aber keine aktuellere Version als die 1.1.0 installiert, selbst wenn ich über den Github Link installieren möchte.

                    mcm1957M SVallantS 2 Replies Last reply
                    0
                    • F flisse

                      @svallant
                      So, bin aus dem Urlaub zurück und habe mit Freude gelesen, dass du da weiter dran gearbeitet hast, danke dafür.
                      Ich bekomme aber keine aktuellere Version als die 1.1.0 installiert, selbst wenn ich über den Github Link installieren möchte.

                      mcm1957M Offline
                      mcm1957M Offline
                      mcm1957
                      wrote on last edited by
                      #111

                      @flisse said in Test Adapter minuvis 2.x:

                      @svallant
                      So, bin aus dem Urlaub zurück und habe mit Freude gelesen, dass du da weiter dran gearbeitet hast, danke dafür.
                      Ich bekomme aber keine aktuellere Version als die 1.1.0 installiert, selbst wenn ich über den Github Link installieren möchte.

                      Bei github Installationen ist die Versionsnummer irrelevant da diese standardmäßig erst beim Releasen verändert wird. Ob der GH stand von der releasten Version abweicht musst du in der commit history ggF checken.

                      Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                      Support Repositoryverwaltung.

                      Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                      LESEN - gute Forenbeitrage

                      1 Reply Last reply
                      0
                      • F flisse

                        @svallant
                        So, bin aus dem Urlaub zurück und habe mit Freude gelesen, dass du da weiter dran gearbeitet hast, danke dafür.
                        Ich bekomme aber keine aktuellere Version als die 1.1.0 installiert, selbst wenn ich über den Github Link installieren möchte.

                        SVallantS Offline
                        SVallantS Offline
                        SVallant
                        wrote on last edited by
                        #112

                        @flisse ja, du hast recht.
                        Version 1.1.1 ist nun verfügbar auf Github 🙂

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          flisse
                          wrote on last edited by flisse
                          #113

                          Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                          Hier mal die Logs:

                          $ iobroker add minuaru auto --host ioBroker --debug
                          
                          NPM version: 10.7.0
                          
                          Installing iobroker.minuaru@1.1.0... (System call)
                          
                          npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                          
                          > better-sqlite3@7.6.2 install
                          
                          > prebuild-install || npm run build-release
                          
                          prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                          
                          > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                          
                          gyp info it worked if it ends with ok
                          
                          gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                          
                          gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                          
                          gyp info spawn /usr/bin/python3
                          
                          gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                          
                          gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                          
                          ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                          
                          TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                          
                          CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                          
                          rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                          
                          CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                          
                          In file included from ./src/better_sqlite3.lzz:11,
                          
                          ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                          
                          ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                          
                          ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                          
                          ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                          
                          make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                          
                          gyp ERR! not ok
                          
                          npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                          
                          npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                          
                          npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                          
                          host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                          
                          ERROR: Process exited with code 25
                          
                          mcm1957M Thomas BraunT SVallantS 3 Replies Last reply
                          0
                          • F flisse

                            Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                            Hier mal die Logs:

                            $ iobroker add minuaru auto --host ioBroker --debug
                            
                            NPM version: 10.7.0
                            
                            Installing iobroker.minuaru@1.1.0... (System call)
                            
                            npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                            
                            > better-sqlite3@7.6.2 install
                            
                            > prebuild-install || npm run build-release
                            
                            prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                            
                            > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                            
                            gyp info it worked if it ends with ok
                            
                            gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                            
                            gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                            
                            gyp info spawn /usr/bin/python3
                            
                            gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                            
                            gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                            
                            ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                            
                            TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                            
                            CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                            
                            rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                            
                            CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                            
                            In file included from ./src/better_sqlite3.lzz:11,
                            
                            ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                            
                            ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                            
                            ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                            
                            ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                            
                            make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                            
                            gyp ERR! not ok
                            
                            npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                            
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                            
                            npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                            
                            host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                            
                            ERROR: Process exited with code 25
                            
                            mcm1957M Offline
                            mcm1957M Offline
                            mcm1957
                            wrote on last edited by
                            #114

                            @flisse said in Test Adapter minuvis 2.x:

                            Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                            Hier mal die Logs:

                            $ iobroker add minuaru auto --host ioBroker --debug
                            
                            NPM version: 10.7.0
                            
                            Installing iobroker.minuaru@1.1.0... (System call)
                            
                            npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                            
                            > better-sqlite3@7.6.2 install
                            
                            > prebuild-install || npm run build-release
                            
                            prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                            
                            > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                            
                            gyp info it worked if it ends with ok
                            
                            gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                            
                            gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                            
                            gyp info spawn /usr/bin/python3
                            
                            gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                            
                            gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                            
                            ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                            
                            TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                            
                            CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                            
                            rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                            
                            CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                            
                            In file included from ./src/better_sqlite3.lzz:11,
                            
                            ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                            
                            ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                            
                            ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                            
                            ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                            
                            make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                            
                            gyp ERR! not ok
                            
                            npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                            
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                            
                            npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                            
                            host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                            
                            ERROR: Process exited with code 25
                            

                            Bist du auf Windows?
                            Dann fehlen dir wahrscheinlich die build Tools.
                            Hab im Moment nur Handy .. hoff es können andere bei Bedarf genauer helfen. Sonst bitte im Forum od auf Google suchen

                            Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                            Support Repositoryverwaltung.

                            Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                            LESEN - gute Forenbeitrage

                            F 1 Reply Last reply
                            0
                            • mcm1957M mcm1957

                              @flisse said in Test Adapter minuvis 2.x:

                              Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                              Hier mal die Logs:

                              $ iobroker add minuaru auto --host ioBroker --debug
                              
                              NPM version: 10.7.0
                              
                              Installing iobroker.minuaru@1.1.0... (System call)
                              
                              npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                              
                              > better-sqlite3@7.6.2 install
                              
                              > prebuild-install || npm run build-release
                              
                              prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                              
                              > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                              
                              gyp info it worked if it ends with ok
                              
                              gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                              
                              gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                              
                              gyp info spawn /usr/bin/python3
                              
                              gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                              
                              gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                              
                              ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                              
                              TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                              
                              CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                              
                              rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                              
                              CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                              
                              In file included from ./src/better_sqlite3.lzz:11,
                              
                              ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                              
                              ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                              
                              ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                              
                              ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                              
                              make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                              
                              gyp ERR! not ok
                              
                              npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                              
                              npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                              
                              npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                              
                              host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                              
                              ERROR: Process exited with code 25
                              

                              Bist du auf Windows?
                              Dann fehlen dir wahrscheinlich die build Tools.
                              Hab im Moment nur Handy .. hoff es können andere bei Bedarf genauer helfen. Sonst bitte im Forum od auf Google suchen

                              F Offline
                              F Offline
                              flisse
                              wrote on last edited by
                              #115

                              @mcm1957
                              Andere Adapter oder Instanzen kann ich problemlos installieren.
                              Mein ioBroker läuft als lxc-Container auf Proxmox.

                              mcm1957M 1 Reply Last reply
                              0
                              • F flisse

                                @mcm1957
                                Andere Adapter oder Instanzen kann ich problemlos installieren.
                                Mein ioBroker läuft als lxc-Container auf Proxmox.

                                mcm1957M Offline
                                mcm1957M Offline
                                mcm1957
                                wrote on last edited by
                                #116

                                @flisse
                                Ok
                                Dann vergiss mal meinen Input.

                                Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                                Support Repositoryverwaltung.

                                Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                                LESEN - gute Forenbeitrage

                                1 Reply Last reply
                                0
                                • F flisse

                                  Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                                  Hier mal die Logs:

                                  $ iobroker add minuaru auto --host ioBroker --debug
                                  
                                  NPM version: 10.7.0
                                  
                                  Installing iobroker.minuaru@1.1.0... (System call)
                                  
                                  npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                                  
                                  > better-sqlite3@7.6.2 install
                                  
                                  > prebuild-install || npm run build-release
                                  
                                  prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                                  
                                  > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                                  
                                  gyp info it worked if it ends with ok
                                  
                                  gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                                  
                                  gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                                  
                                  gyp info spawn /usr/bin/python3
                                  
                                  gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                                  
                                  gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                  
                                  ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                  
                                  TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                                  
                                  CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                                  
                                  rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                                  
                                  CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                                  
                                  In file included from ./src/better_sqlite3.lzz:11,
                                  
                                  ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                                  
                                  ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                                  
                                  ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                                  
                                  ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                                  
                                  make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                  
                                  gyp ERR! not ok
                                  
                                  npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                                  
                                  npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                                  
                                  npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                                  
                                  host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                                  
                                  ERROR: Process exited with code 25
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #117

                                  @flisse

                                  Hier baut es auch nicht.
                                  Da scheint sqlite aus den Sourcen gebaut zu werden, ich kapier aber gerade nicht was da alles fehlt. Und ein aktuelles python 3.12 wird wohl auch empfohlen.

                                  Es springt hier jedenfalls mit diesen Meldungen aus dem Gleis:

                                  iobroker add minuaru auto --debug
                                  NPM version: 10.7.0
                                  Installing iobroker.minuaru@1.1.0... (System call)
                                  
                                  > better-sqlite3@7.6.2 install
                                  > prebuild-install || npm run build-release
                                  
                                  prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
                                  
                                  > better-sqlite3@7.6.2 build-release
                                  > node-gyp rebuild --release
                                  
                                  gyp info it worked if it ends with ok
                                  gyp info using node-gyp@10.1.0
                                  gyp info using node@20.15.0 | linux | arm64
                                  gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
                                  
                                  gyp info spawn /usr/bin/python3
                                  gyp info spawn args [
                                  gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                  gyp info spawn args 'binding.gyp',
                                  gyp info spawn args '-f',
                                  gyp info spawn args 'make',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
                                  gyp info spawn args '-Dlibrary=shared_library',
                                  gyp info spawn args '-Dvisibility=default',
                                  gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
                                  gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                  gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
                                  gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
                                  gyp info spawn args '-Dnode_engine=v8',
                                  gyp info spawn args '--depth=.',
                                  gyp info spawn args '--no-parallel',
                                  gyp info spawn args '--generator-output',
                                  gyp info spawn args 'build',
                                  gyp info spawn args '-Goutput_dir=.'
                                  gyp info spawn args ]
                                  gyp info spawn make
                                  gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                  make: Entering directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                    TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                    ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                    TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                                    CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                                  rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                                  ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list
                                    COPY Release/sqlite3.a
                                    CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                                  In file included from ./src/better_sqlite3.lzz:11,
                                                   from ../src/better_sqlite3.cpp:4:
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
                                   1248 |       (node::addon_context_register_func) (regfunc),                  \
                                        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
                                   1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
                                        |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
                                   1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
                                        |   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                  ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
                                  ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
                                  ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
                                  ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
                                  ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
                                  ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
                                  ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                  ./src/util/data.lzz:73:197: note: here
                                  ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
                                  ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                  ./src/util/data.lzz:77:175: note: here
                                  make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
                                  rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                  make: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                  gyp ERR! build error 
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
                                  gyp ERR! System Linux 6.6.31+rpt-rpi-v8
                                  gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
                                  gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
                                  gyp ERR! node -v v20.15.0
                                  gyp ERR! node-gyp -v v10.1.0
                                  gyp ERR! not ok 
                                  npm error code 1
                                  npm error path /opt/iobroker/node_modules/better-sqlite3
                                  npm error command failed
                                  npm error command sh -c prebuild-install || npm run build-release
                                  
                                  npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
                                  prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
                                  gyp info it worked if it ends with ok
                                  gyp info using node-gyp@10.1.0
                                  gyp info using node@20.15.0 | linux | arm64
                                  gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
                                  gyp info spawn /usr/bin/python3
                                  gyp info spawn args [
                                  gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                  gyp info spawn args 'binding.gyp',
                                  gyp info spawn args '-f',
                                  gyp info spawn args 'make',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                  gyp info spawn args '-I',
                                  gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
                                  gyp info spawn args '-Dlibrary=shared_library',
                                  gyp info spawn args '-Dvisibility=default',
                                  gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
                                  gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                  gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
                                  gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
                                  gyp info spawn args '-Dnode_engine=v8',
                                  gyp info spawn args '--depth=.',
                                  gyp info spawn args '--no-parallel',
                                  gyp info spawn args '--generator-output',
                                  gyp info spawn args 'build',
                                  gyp info spawn args '-Goutput_dir=.'
                                  gyp info spawn args ]
                                  gyp info spawn make
                                  gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                  In file included from ./src/better_sqlite3.lzz:11,
                                                   from ../src/better_sqlite3.cpp:4:
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
                                   1248 |       (node::addon_context_register_func) (regfunc),                  \
                                        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
                                   1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
                                        |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
                                   1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
                                        |   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                  ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
                                  ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
                                  ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
                                  ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
                                  ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
                                  ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
                                  ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                  ./src/util/data.lzz:73:197: note: here
                                  ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
                                  ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                  ./src/util/data.lzz:77:175: note: here
                                  make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
                                  gyp ERR! build error 
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
                                  gyp ERR! System Linux 6.6.31+rpt-rpi-v8
                                  gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
                                  gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
                                  gyp ERR! node -v v20.15.0
                                  gyp ERR! node-gyp -v v10.1.0
                                  gyp ERR! not ok 
                                  npm error code 1
                                  npm error path /opt/iobroker/node_modules/better-sqlite3
                                  npm error command failed
                                  npm error command sh -c prebuild-install || npm run build-release
                                  
                                  npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
                                  host.chet Cannot install iobroker.minuaru@1.1.0: 1
                                  
                                  

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  mcm1957M 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @flisse

                                    Hier baut es auch nicht.
                                    Da scheint sqlite aus den Sourcen gebaut zu werden, ich kapier aber gerade nicht was da alles fehlt. Und ein aktuelles python 3.12 wird wohl auch empfohlen.

                                    Es springt hier jedenfalls mit diesen Meldungen aus dem Gleis:

                                    iobroker add minuaru auto --debug
                                    NPM version: 10.7.0
                                    Installing iobroker.minuaru@1.1.0... (System call)
                                    
                                    > better-sqlite3@7.6.2 install
                                    > prebuild-install || npm run build-release
                                    
                                    prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
                                    
                                    > better-sqlite3@7.6.2 build-release
                                    > node-gyp rebuild --release
                                    
                                    gyp info it worked if it ends with ok
                                    gyp info using node-gyp@10.1.0
                                    gyp info using node@20.15.0 | linux | arm64
                                    gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
                                    
                                    gyp info spawn /usr/bin/python3
                                    gyp info spawn args [
                                    gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                    gyp info spawn args 'binding.gyp',
                                    gyp info spawn args '-f',
                                    gyp info spawn args 'make',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
                                    gyp info spawn args '-Dlibrary=shared_library',
                                    gyp info spawn args '-Dvisibility=default',
                                    gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
                                    gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                    gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
                                    gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
                                    gyp info spawn args '-Dnode_engine=v8',
                                    gyp info spawn args '--depth=.',
                                    gyp info spawn args '--no-parallel',
                                    gyp info spawn args '--generator-output',
                                    gyp info spawn args 'build',
                                    gyp info spawn args '-Goutput_dir=.'
                                    gyp info spawn args ]
                                    gyp info spawn make
                                    gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                    make: Entering directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                      TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                      ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                      TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                                      CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                                    rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                                    ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list
                                      COPY Release/sqlite3.a
                                      CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                                    In file included from ./src/better_sqlite3.lzz:11,
                                                     from ../src/better_sqlite3.cpp:4:
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
                                     1248 |       (node::addon_context_register_func) (regfunc),                  \
                                          |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
                                     1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
                                          |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
                                     1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
                                          |   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                    ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
                                    ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
                                    ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
                                    ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
                                    ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
                                    ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
                                    ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                    ./src/util/data.lzz:73:197: note: here
                                    ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
                                    ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                    ./src/util/data.lzz:77:175: note: here
                                    make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
                                    rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                    make: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                    gyp ERR! build error 
                                    gyp ERR! stack Error: `make` failed with exit code: 2
                                    gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
                                    gyp ERR! System Linux 6.6.31+rpt-rpi-v8
                                    gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
                                    gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
                                    gyp ERR! node -v v20.15.0
                                    gyp ERR! node-gyp -v v10.1.0
                                    gyp ERR! not ok 
                                    npm error code 1
                                    npm error path /opt/iobroker/node_modules/better-sqlite3
                                    npm error command failed
                                    npm error command sh -c prebuild-install || npm run build-release
                                    
                                    npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
                                    prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
                                    gyp info it worked if it ends with ok
                                    gyp info using node-gyp@10.1.0
                                    gyp info using node@20.15.0 | linux | arm64
                                    gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
                                    gyp info spawn /usr/bin/python3
                                    gyp info spawn args [
                                    gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                    gyp info spawn args 'binding.gyp',
                                    gyp info spawn args '-f',
                                    gyp info spawn args 'make',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                    gyp info spawn args '-I',
                                    gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
                                    gyp info spawn args '-Dlibrary=shared_library',
                                    gyp info spawn args '-Dvisibility=default',
                                    gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
                                    gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                    gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
                                    gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
                                    gyp info spawn args '-Dnode_engine=v8',
                                    gyp info spawn args '--depth=.',
                                    gyp info spawn args '--no-parallel',
                                    gyp info spawn args '--generator-output',
                                    gyp info spawn args 'build',
                                    gyp info spawn args '-Goutput_dir=.'
                                    gyp info spawn args ]
                                    gyp info spawn make
                                    gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                    In file included from ./src/better_sqlite3.lzz:11,
                                                     from ../src/better_sqlite3.cpp:4:
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
                                     1248 |       (node::addon_context_register_func) (regfunc),                  \
                                          |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
                                     1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
                                          |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
                                     1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
                                          |   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                    ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
                                    ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
                                    ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
                                    ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
                                    ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
                                    ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
                                    ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                    ./src/util/data.lzz:73:197: note: here
                                    ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
                                    ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                    ./src/util/data.lzz:77:175: note: here
                                    make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
                                    gyp ERR! build error 
                                    gyp ERR! stack Error: `make` failed with exit code: 2
                                    gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
                                    gyp ERR! System Linux 6.6.31+rpt-rpi-v8
                                    gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
                                    gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
                                    gyp ERR! node -v v20.15.0
                                    gyp ERR! node-gyp -v v10.1.0
                                    gyp ERR! not ok 
                                    npm error code 1
                                    npm error path /opt/iobroker/node_modules/better-sqlite3
                                    npm error command failed
                                    npm error command sh -c prebuild-install || npm run build-release
                                    
                                    npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
                                    host.chet Cannot install iobroker.minuaru@1.1.0: 1
                                    
                                    
                                    mcm1957M Offline
                                    mcm1957M Offline
                                    mcm1957
                                    wrote on last edited by
                                    #118

                                    @Homoran

                                    Kann eigentlich wer erklären warum der Adapter.minuaru im topic zu minuvis diskutiert wird???

                                    Ev wär da Abspaltung angesagt..

                                    Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                                    Support Repositoryverwaltung.

                                    Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                                    LESEN - gute Forenbeitrage

                                    HomoranH SVallantS 2 Replies Last reply
                                    0
                                    • mcm1957M mcm1957

                                      @Homoran

                                      Kann eigentlich wer erklären warum der Adapter.minuaru im topic zu minuvis diskutiert wird???

                                      Ev wär da Abspaltung angesagt..

                                      HomoranH Do not disturb
                                      HomoranH Do not disturb
                                      Homoran
                                      Global Moderator Administrators
                                      wrote on last edited by
                                      #119

                                      @mcm1957 sagte in Test Adapter minuvis 2.x:

                                      warum der Adapter.minuaru

                                      ist etwa hier https://forum.iobroker.net/post/1156123 reingerutscht.
                                      ich hatte den Eindruck das gehört zusammen

                                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      1 Reply Last reply
                                      0
                                      • mcm1957M mcm1957

                                        @Homoran

                                        Kann eigentlich wer erklären warum der Adapter.minuaru im topic zu minuvis diskutiert wird???

                                        Ev wär da Abspaltung angesagt..

                                        SVallantS Offline
                                        SVallantS Offline
                                        SVallant
                                        wrote on last edited by
                                        #120

                                        @mcm1957 Gibt es dafür eine Funktion oder einfach neuer Thread ?

                                        1 Reply Last reply
                                        0
                                        • F flisse

                                          Ich bekomme grad leider gar nicht erst eine Instanz installiert von dem Adapter. Ich hatte die Instanz damals, als es Probleme gab wieder entfernt.

                                          Hier mal die Logs:

                                          $ iobroker add minuaru auto --host ioBroker --debug
                                          
                                          NPM version: 10.7.0
                                          
                                          Installing iobroker.minuaru@1.1.0... (System call)
                                          
                                          npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
                                          
                                          > better-sqlite3@7.6.2 install
                                          
                                          > prebuild-install || npm run build-release
                                          
                                          prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)
                                          
                                          > better-sqlite3@7.6.2 build-release> node-gyp rebuild --release
                                          
                                          gyp info it worked if it ends with ok
                                          
                                          gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64
                                          
                                          gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
                                          
                                          gyp info spawn /usr/bin/python3
                                          
                                          gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
                                          
                                          gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                          
                                          ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
                                          
                                          TOUCH Release/obj.target/deps/locate_sqlite3.stamp
                                          
                                          CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
                                          
                                          rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
                                          
                                          CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
                                          
                                          In file included from ./src/better_sqlite3.lzz:11,
                                          
                                          ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared
                                          
                                          ./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?
                                          
                                          ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here
                                          
                                          ./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: here
                                          
                                          make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1rm ba23eeee118cd63e16015df367567cb043fed872.intermediatemake: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
                                          
                                          gyp ERR! not ok
                                          
                                          npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3
                                          
                                          npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                                          
                                          npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsprebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=x64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | x64gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from ./src/better_sqlite3.lzz:11, from ../src/better_sqlite3.cpp:4:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] 1248 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1266 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1297 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT'./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)':./src/util/macros.lzz:157:21: error: 'v8::AccessorSignature' has not been declared./src/util/binder.lzz: In static member function 'static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)':./src/util/binder.lzz:37:51: error: 'class v8::Object' has no member named 'CreationContext'; did you mean 'GetCreationContext'?./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)':./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:73:197: note: here./src/util/data.lzz: In function 'v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)':./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]./src/util/data.lzz:77:175: note: heremake: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.8.8-1-pvegyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3gyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/better-sqlite3npm error command failednpm error command sh -c prebuild-install || npm run build-releasenpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T18_41_17_515Z-debug-0.log
                                          
                                          host.ioBroker Cannot install iobroker.minuaru@1.1.0: 1
                                          
                                          ERROR: Process exited with code 25
                                          
                                          SVallantS Offline
                                          SVallantS Offline
                                          SVallant
                                          wrote on last edited by
                                          #121

                                          @flisse beim SQL-Adapter https://github.com/ioBroker/ioBroker.sql habe ich das gefunden:

                                          *SQLite DB must not be installed extra. It is just a file on disk, but to install it you require build tools on your system. For linux, just write:

                                          sudo apt-get install build-essential

                                          For windows:

                                          c:>npm install --global --production windows-build-tools*

                                          Vielleicht fehlt dir das ....

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          135

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe