Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Node-red nicht mehr verfügbar

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Node-red nicht mehr verfügbar

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

      Hallo zusammen,

      ich hoffe ihr wisst eine Lösung, denn node-red ist nicht mehr aufrufbar und produziert bei mir alle paar Sekunden folgende Fehlermeldung

      node-red exited with 1

      warn Error: Cannot find module 'clone'

      Das ist ein Auszug aus dem Log (wiederholt sich alle paar Sekunden):

      node-red.0	2017-03-05 14:55:24.945	info	node-red exited with 1
      node-red.0	2017-03-05 14:55:24.927	warn	at require (internal/module.js:12:17)
      node-red.0	2017-03-05 14:55:24.927	warn	at Module.require (module.js:353:17)
      node-red.0	2017-03-05 14:55:24.927	warn	at Function.Module._load (module.js:300:12)
      node-red.0	2017-03-05 14:55:24.927	warn	at Module.load (module.js:343:32)
      node-red.0	2017-03-05 14:55:24.927	warn	at Object.Module._extensions..js (module.js:416:10)
      node-red.0	2017-03-05 14:55:24.927	warn	at Module._compile (module.js:409:26)
      node-red.0	2017-03-05 14:55:24.927	warn	at Object. (/opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red/runtime/nodes/flows/index.js:17:13)
      node-red.0	2017-03-05 14:55:24.927	warn	at require (internal/module.js:12:17)
      node-red.0	2017-03-05 14:55:24.927	warn	at Module.require (module.js:353:17)
      node-red.0	2017-03-05 14:55:24.927	warn	at Function.Module._load (module.js:276:25)
      node-red.0	2017-03-05 14:55:24.927	warn	at Function.Module._resolveFilename (module.js:325:15)
      node-red.0	2017-03-05 14:55:24.927	warn	Error: Cannot find module 'clone'
      node-red.0	2017-03-05 14:55:24.927	warn	^
      node-red.0	2017-03-05 14:55:24.927	warn	throw err;
      node-red.0	2017-03-05 14:55:24.927	warn	module.js:327
      node-red.0	2017-03-05 14:55:23.686	info	Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
      node-red.0	2017-03-05 14:55:18.683	info	node-red exited with 1
      node-red.0	2017-03-05 14:55:18.677	warn	at require (internal/module.js:12:17)
      node-red.0	2017-03-05 14:55:18.677	warn	at Module.require (module.js:353:17)
      node-red.0	2017-03-05 14:55:18.677	warn	at Function.Module._load (module.js:300:12)
      node-red.0	2017-03-05 14:55:18.677	warn	at Module.load (module.js:343:32)
      node-red.0	2017-03-05 14:55:18.677	warn	at Object.Module._extensions..js (module.js:416:10)
      node-red.0	2017-03-05 14:55:18.677	warn	at Module._compile (module.js:409:26)
      node-red.0	2017-03-05 14:55:18.677	warn	at Object. (/opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red/runtime/nodes/flows/index.js:17:13)
      node-red.0	2017-03-05 14:55:18.677	warn	at require (internal/module.js:12:17)
      node-red.0	2017-03-05 14:55:18.677	warn	at Module.require (module.js:353:17)
      node-red.0	2017-03-05 14:55:18.677	warn	at Function.Module._load (module.js:276:25)
      node-red.0	2017-03-05 14:55:18.677	warn	at Function.Module._resolveFilename (module.js:325:15)
      node-red.0	2017-03-05 14:55:18.677	warn	Error: Cannot find module 'clone'
      node-red.0	2017-03-05 14:55:18.677	warn	^
      node-red.0	2017-03-05 14:55:18.677	warn	throw err;
      node-red.0	2017-03-05 14:55:18.677	warn	module.js:327
      node-red.0	2017-03-05 14:55:17.387	info	Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
      

      Das Hinzufügen des angegebenen Moduls führt dazu, dass ein weiteres Modul angefragt wird. Selbe Warnmeldung, anderes Modul. Neuinstallation von node-red bringt nichts.

      Ich habe node-red bislang nur für Tests benutzt, also auch nichts großes damit angestellt oder geändert. Mein Eindruck ist, dass es seit einem Upgrade aller Adapter auftritt. Der node-red-Programmiertab gibt aus: 192.168.XXX.XXX hat die Verbindung abgelehnt

      Host: Raspberry Pi

      node-red Version: 1.1.6

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        kann es sein, dass dein RAM zur Neige geht?

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • S
          spielberger32 last edited by

          Das ist durchaus möglich, aber ich verstehe nicht was das damit zu tun hat :?: vorher lief es ja problemlos …

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            War nur ein Schuss ins Blaue, nach der Meldung:

            info   Starting node-red: --max-old-space-size=128 
            

            und der Info, dass es immer wieder andere Module sind, die beim Versuch node-red zu starten nicht geladen werden.

            Gruß

            Rainer

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

              Probier mal node-red adapter neu zu installieren:

              http://www.iobroker.net/docu/?page_id=3 … stallieren

              1 Reply Last reply Reply Quote 0
              • S
                spielberger32 last edited by

                Hmm das stimmt 😐 Und was wäre die Lösung? Es laufen jedenfalls keine überflüssigen Instanzen. Alle Instanzen temporär stoppen und dann node-red starten?

                @Bluefox:

                Probier mal node-red adapter neu zu installieren:

                http://www.iobroker.net/docu/?page_id=3 … stallieren `

                Okay … probiere ich aus

                1 Reply Last reply Reply Quote 0
                • S
                  spielberger32 last edited by

                  Die Lösung von Bluefox HAT FUNKTIONIERT! Hatte nicht auf dem Schirm es komplett manuell über die Konsole zu machen :oops:

                  Ich musste allerdings den RPi nochmal durchstartet und den node-red.0-Tab entfernen und neu anlegen.

                  Kommt jetzt nur einmal beim Start folgende Meldung:

                  node-red.0	2017-03-05 16:03:53.171	warn	5 Mar 16:03:53 - [warn] - node-red-node-serialport: serial in, serial out, serial-port
                  node-red.0	2017-03-05 16:03:53.160	warn	5 Mar 16:03:53 - [warn] Missing node modules:
                  

                  das war's.

                  Super! Vielen Dank!

                  1 Reply Last reply Reply Quote 0
                  • S
                    schubi82 last edited by

                    Hallo zusammen! Ich habe das gleiche Problem, kann aber nicht mehr auf die Anleitung zugreifen..
                    Ich bekomme NodeRed einfach nicht installiert, es handelt sich um ein neues Image und Backup einer alten Installation.
                    Folgender Fehler erscheint:

                    $ ./iobroker add node-red  --host raspberrypi
                    NPM version: 6.11.3
                    npm install iobroker.node-red@1.13.0 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
                    npm WARN tar invalid entrynpm WARN tar invalid entry
                    npm WARN tar invalid entry
                    npm WARN tar invalid entry
                    npm WARN tar invalid entry
                    npm WARN tar invalid entry
                    
                    npm WARN tarball cached data for libmime@4.1.1 (sha512-HkOfBSj+l7pBOOucEgiI6PdbgHa8ljv+1rARzW743HQ51UP8gabMlcA2wAF3Dg1aeuMjHZ+LzAPYxM52IZsyGA==) seems to be corrupted. Refreshing cache.
                    npm
                     WARN tar zlib: unexpected end of file
                    In file included from ../node_modules/nan/nan.h:190,                 from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                    ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                       return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                   ^~~~~~~~
                    
                    In file included from ../src/unix_dgram.cc:5:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                    ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                ^
                    
                    In file included from ../node_modules/nan/nan.h:47,                 from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                    ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                  ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                  ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                    ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                  ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                  ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    
                    In file included from ../src/unix_dgram.cc:5:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                    ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                         ));
                         ^
                    
                    In file included from ../node_modules/nan/nan.h:47,                 from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    In file included from ../src/unix_dgram.cc:5:
                    ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                         ));
                         ^
                    In file included from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    
                    In file included from ../src/unix_dgram.cc:5:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                  ^
                    
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       domain      = info[0]->Int32Value();
                                                         ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       type        = info[1]->Int32Value();
                                                         ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    
                    ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]   protocol    = info[2]->Int32Value();
                                                         ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       fd = info[0]->Int32Value();
                                                ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                       String::Utf8Value path(info[1]);
                                                     ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                       explicit Utf8Value(Local<v8::Value> obj));
                                                ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       fd = info[0]->Int32Value();
                                                ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       buf = info[1]->ToObject();
                                               ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                     Local<Object> Value::ToObject() const {
                                   ^~~~~
                    ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       offset = info[2]->Uint32Value();
                                                     ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                   ^~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       length = info[3]->Uint32Value();
                                                     ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                   ^~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                       String::Utf8Value path(info[4]);
                                                     ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                       explicit Utf8Value(Local<v8::Value> obj));
                                                ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       fd = info[0]->Int32Value();
                                                ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       buf = info[1]->ToObject();
                                               ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,                 from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                     Local<Object> Value::ToObject() const {
                                   ^~~~~
                    
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       fd = info[0]->Int32Value();
                                                ^
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    
                    ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]   String::Utf8Value path(info[1]);
                                                     ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                       explicit Utf8Value(Local<v8::Value> obj));
                                                ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    
                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       fd = info[0]->Int32Value();
                                                ^
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                     from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                     from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    
                    In file included from ../node_modules/nan/nan.h:47,                 from ../src/unix_dgram.cc:5:
                    ../src/unix_dgram.cc: At global scope:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           (node::addon_register_func) (regfunc),                          \
                                                               ^
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                       ^~~~~~~~~~~~~
                    ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(unix_dgram, Initialize)
                     ^~~~~~~~~~~
                    
                    In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,                 from ../node_modules/nan/nan.h:47,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78:   required from here
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                    reinterpret_cast<Callback>(callback), type);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../node_modules/nan/nan_object_wrap.h:66:61:   required from here
                    /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    
                    make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
                    gyp
                     
                    ERR! build error 
                    gyp ERR! stack Error: `make` failed with exit code: 2gyp
                     ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                    gyp ERR! System Linux 4.19.75-v7+
                    
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                    gyp ERR! node -v v10.17.0
                    gyp ERR! node-gyp -v v5.0.3
                    gyp ERR! not ok 
                    
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    
                    
                    host.raspberrypi install adapter node-red
                    ERROR: host.raspberrypi error: reading io-package.json SyntaxError: Unexpected string in JSON at position 1
                    ERROR: process exited with code 14
                    

                    Ich verstehe nur Bahnhof 😞

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    736
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    node-red
                    4
                    8
                    2367
                    Loading More Posts
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes
                    Reply
                    • Reply as topic
                    Log in to reply
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                    The ioBroker Community 2014-2023
                    logo