Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Build error bei Adapter Update

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    864

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Build error bei Adapter Update

Scheduled Pinned Locked Moved Error/Bug
4 Posts 2 Posters 520 Views
  • 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.
  • T Offline
    T Offline
    ts020339
    wrote on last edited by
    #1

    Hallo Zusammen,

    ich bekomme jetzt bei jeder Installation eines neuen Adapters bzw. dem Update eines existierenden Adapters einen "gyp ERR! build error" im Log.

    Reproduzierbar mit jedem Adapter. Hier mal das komplette Log des Discovery-Adapters, sieht so genauso aber bei jedem anderen Adapter aus.

    Das ist nur leider so weit jenseits meiner Kenntnisse und auch Google gibt undendlich viele Treffer aus, dass ich einfach nicht weiterkommen. Vielleicht kann sich ja mal jemand das Log anschauen und mich zumindest in die richtige Richtung stoßen…

    ! ````
    Update discovery from @1.0.1 to @1.1.0
    npm install iobroker.discovery@1.1.0 --production --prefix "/opt/iobroker" (System call)
    In file included from ../node_modules/nan/nan.h:82:0,
    from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Int32; v8::Handle v8::integer= v8::Localv8::integer]’:
    ../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
    Tov8::int32(v8::Handle v8::integeri) { return i->ToInt32(); }
    ^
    In file included from ../src/bufferutil.cc:7:0:
    /root/.node-gyp/6.12.3/include/node/v8.h:8214:14: note: declared here
    Local <int32>Value::ToInt32() const {
    ^~~~~
    In file included from ../node_modules/nan/nan.h:82:0,
    from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Uint32; v8::Handle v8::integer= v8::Localv8::integer]’:
    ../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local v8::uint32v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
    Tov8::uint32(v8::Handle v8::integeri) { return i->ToUint32(); }
    ^
    In file included from ../src/bufferutil.cc:7:0:
    /root/.node-gyp/6.12.3/include/node/v8.h:8208:15: note: declared here
    Local <uint32>Value::ToUint32() const {
    ^~~~~
    In file included from ../node_modules/nan/nan_new.h:189:0,
    from ../node_modules/nan/nan.h:82,
    from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::booleanobject::return_t NanIntern::Factoryv8::booleanobject::New(bool)’:
    ../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local v8::valuev8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
    return v8::BooleanObject::New(value).Asv8::booleanobject();
    ^
    In file included from /root/.node-gyp/6.12.3/include/node/v8.h:25:0,
    from ../src/bufferutil.cc:7:
    /root/.node-gyp/6.12.3/include/node/v8.h:4009:56: note: declared here
    V8_DEPRECATED("Pass an isolate", static Local <value>New(bool value));
    ^
    /root/.node-gyp/6.12.3/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
    declarator attribute((deprecated(message)))
    ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189:0,
    from ../node_modules/nan/nan.h:82,
    from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::script::return_t NanIntern::Factoryv8::script::New(v8::Localv8::string)’:
    ../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
    ^
    In file included from /root/.node-gyp/6.12.3/include/node/v8.h:25:0,
    from ../src/bufferutil.cc:7:
    /root/.node-gyp/6.12.3/include/node/v8.h:1354:21: note: declared here
    Local</v8::script></v8::string></v8::script></v8::script></value></v8::booleanobject></v8::value></v8::booleanobject></v8::booleanobject></uint32></v8::integer></v8::uint32></v8::uint32></v8::integer></v8::integer></v8::integer></int32></v8::integer></v8::int32></v8::int32></v8::integer></v8::integer></v8::integer>

    1 Reply Last reply
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      wrote on last edited by
      #2

      Das meiste sind optionale Pakete. Es ist ok wenn die fehlschlagen. Npm ab 3 prüft jedes Mal alle Abhängigkeiten und versucht damit quasi jedes Mal das fehlende nachzuinstallieren … blöd aber ist aktuell leider so.

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Reply Last reply
      0
      • T Offline
        T Offline
        ts020339
        wrote on last edited by
        #3

        danke fürs anschauen!

        und dieser "gyp build error" ? (ziemlich weit unten im Log)

        ...
        gyp ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        ...
        
        

        bzw. kann ich irgendwie nachschauen, ob ein Adapter korrekt kompiliert wurde (d.h. native c++ code übersetzt) oder in dem javascript mode läuft?

        1 Reply Last reply
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #4

          Wenn es eine optionale Library ist die den Fehler verursacht hat ist alles gut ;-) wenn im Adapter was nicht tut merkst du wenn du ihn benutzt …

          In dem Fall kam es wohl vom Modul validation

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          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

          848

          Online

          32.6k

          Users

          82.1k

          Topics

          1.3m

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

          • Don't have an account? Register

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