<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fehler beim installieren von Statistics auf dem Rpi]]></title><description><![CDATA[<p dir="auto">Kann mir einer bei diesem Fehler helfen? Auf dem Rpi4</p>
<pre><code>$ ./iobroker add statistics  --host iobroker
NPM version: 6.14.13
npm install iobroker.statistics@1.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
../authenticate_pam.cc:107:87: warning: ‘v8::Local&lt;v8::Value&gt; Nan::MakeCallback(v8::Local&lt;v8::Object&gt;, v8::Local&lt;v8::Function&gt;, int, v8::Local&lt;v8::Value&gt;*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()-&gt;Global(), Nan::New(m-&gt;callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local&lt;v8::Value&gt; MakeCallback(                                              ^~~~~~~~~~~~
../authenticate_pam.cc:107:87: warning: ‘v8::Local&lt;v8::Value&gt; Nan::MakeCallback(v8::Local&lt;v8::Object&gt;, v8::Local&lt;v8::Function&gt;, int, v8::Local&lt;v8::Value&gt;*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()-&gt;Global(), Nan::New(m-&gt;callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local&lt;v8::Value&gt; MakeCallback(                                              ^~~~~~~~~~~~
../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local&lt;v8::Value&gt; v8::Object::Get(v8::Local&lt;v8::Value&gt;)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local&lt;Value&gt; res = options-&gt;Get(Nan::New&lt;String&gt;("serviceName").ToLocalChecked());                                                                                   ^In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local&lt;Value&gt; Get(Local&lt;Value&gt; key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’    serviceName-&gt;WriteUtf8(m-&gt;serviceName, sizeof(m-&gt;serviceName) - 1);                                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:152:69: warning: ‘v8::Local&lt;v8::Value&gt; v8::Object::Get(v8::Local&lt;v8::Value&gt;)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options-&gt;Get(Nan::New&lt;String&gt;("remoteHost").ToLocalChecked());                                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local&lt;Value&gt; Get(Local&lt;Value&gt; key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’    remoteHost-&gt;WriteUtf8(m-&gt;remoteHost, sizeof(m-&gt;remoteHost) - 1);                                                                  ^In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’  username-&gt;WriteUtf8(m-&gt;username, sizeof(m-&gt;username) - 1);                                                          ^
In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’  password-&gt;WriteUtf8(m-&gt;password, sizeof(m-&gt;password) - 1);                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle&lt;Object&gt; exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle&lt;Object&gt; exports) {           ^~~~~~           rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘&gt;’ token void init(Handle&lt;Object&gt; exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle&lt;Object&gt; exports) {                          ^~~~~~~
In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
 NODE_MODULE(authenticate_pam, init);                               ^~~~/home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 5.10.17-v7l+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/authenticate-pamgyp ERR! node -v v12.22.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
host.iobroker install adapter statistics
upload [5] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/words.js words.js application/javascript
upload [4] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/statistics.png statistics.png image/png
upload [3] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/index_m.html index_m.html text/html
upload [2] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/index.html index.html text/html
upload [1] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/custom_m.html custom_m.html text/html
upload [0] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/custom.html custom.html text/html
host.iobroker object system.adapter.statistics created/updated
host.iobroker object _design/custom created/updated
host.iobroker create instance statistics
host.iobroker object system.adapter.statistics.0.logLevel created
host.iobroker object system.adapter.statistics.0.sigKill created
host.iobroker object system.adapter.statistics.0.eventLoopLag created
host.iobroker object system.adapter.statistics.0.outputCount created
host.iobroker object system.adapter.statistics.0.inputCount created
host.iobroker object system.adapter.statistics.0.uptime created
host.iobroker object system.adapter.statistics.0.memRss created
host.iobroker object system.adapter.statistics.0.memHeapTotal created
host.iobroker object system.adapter.statistics.0.memHeapUsed created
host.iobroker object system.adapter.statistics.0.cputime created
host.iobroker object system.adapter.statistics.0.cpu created
host.iobroker object system.adapter.statistics.0.compactMode created
host.iobroker object system.adapter.statistics.0.connected created
host.iobroker object system.adapter.statistics.0.alive created
host.iobroker object system.adapter.statistics.0 created
process exited with code 0
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/46297/fehler-beim-installieren-von-statistics-auf-dem-rpi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 26 May 2026 02:12:48 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/46297.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Jul 2021 14:14:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler beim installieren von Statistics auf dem Rpi on Fri, 09 Jul 2021 14:26:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> wegen Zeile 16</p>
<p dir="auto">Kann ich den Betriebsstundenzähler überhaupt nutzen bei true und false?</p>
]]></description><link>https://forum.iobroker.net/post/651561</link><guid isPermaLink="true">https://forum.iobroker.net/post/651561</guid><dc:creator><![CDATA[Cino]]></dc:creator><pubDate>Fri, 09 Jul 2021 14:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler beim installieren von Statistics auf dem Rpi on Fri, 09 Jul 2021 14:16:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cino" aria-label="Profile: cino">@<bdi>cino</bdi></a> sagte in <a href="/post/651553">Fehler beim installieren von Statistics auf dem Rpi</a>:</p>
<blockquote>
<p dir="auto">bei diesem Fehler</p>
</blockquote>
<p dir="auto">welcher Fehler?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cino" aria-label="Profile: cino">@<bdi>cino</bdi></a> sagte in <a href="/post/651553">Fehler beim installieren von Statistics auf dem Rpi</a>:</p>
<blockquote>
<p dir="auto">process exited with code 0</p>
</blockquote>
<p dir="auto">also alles in Ordnung</p>
]]></description><link>https://forum.iobroker.net/post/651555</link><guid isPermaLink="true">https://forum.iobroker.net/post/651555</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 09 Jul 2021 14:16:20 GMT</pubDate></item></channel></rss>