Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Problem] rfLink wirft Error Code 13 bei Installationsversuch

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Problem] rfLink wirft Error Code 13 bei Installationsversuch

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Das Problem liegt IMHO nicht an den EACCESS vom Serialport.

      Dort habe ich festgestellt, dass es an der Installation des gesamten Systems liegt. Dieses muss als echter Root durchgeführt werden, wenn es als User xy mit sudo oder sudo su durchgeführt, behauptet die Konsole zwar, dass die Installation als root durchgeführt wird, der Besitzer bleibt aber der User xy.

      das wirft dann den EACCESS Fehler, das make läuft dann aber ohne Probleme in einem temporären Ordner.

      Inzwischen installiere ich keinen root-Zugang mehr per SSH, auch nicht mehr in meinen Images. Es wurde ja auch schon angemeckert, dass ich bei meinen Images dazu auffordere die Passworte zu ändern 😞

      Wenn du dir sicher bist, dass es daran liegt werde ich hier nochmal ein root Passwort vergeben und den root Zugang für SSH freigeben. Dies sollte aber aus Sicherheitsgründen standardmäßig nicht üblich sein.

      Gruß

      Rainer

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

        Mit

        sudo su -
        

        irst Du root. Brauchst kein Passwort

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

          Aber der Besitzer der Daten bleibt in meinem Fall linaro.

          Und das führt zu dem EACCESS. Der Besitzer müsste wahrscheinlich root sein.

          Gruß

          Rainer

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

            Als Root ein chown -R root.root * würde das auch fixen … glaube aber das ist egal. Root darf eh alles

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

              @apollon77:

              Root darf eh alles `
              Davon war ich auch ausgegangen, aber 😄

              user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.3"
              

              Gruß

              Rainer

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

                @Homoran:

                @apollon77:

                Root darf eh alles `
                Davon war ich auch ausgegangen, aber 😄

                user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.3"
                

                Gruß

                Rainer `
                Ich hatte letztens auch was versucht zu installieren, habe dann als root (nach sudo su) versucht, ging nicht als root. Dann trotz root noch ein sudo davor und es ging. Kann das sein?

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

                  @lobomau:

                  habe dann als root (nach sudo su) versucht, ging nicht als root. Dann trotz root noch ein sudo davor und es ging. Kann das sein? `
                  ich fürchte so einen Effekt auch schon beobachtet zu haben 😞

                  Gruß

                  Rainer

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

                    Mit sudo su lässt sich der Adapter installieren.

                    zumindest ist er zu sehen, auch eine Instanz lässt sich einrichten, aber er läuft nicht

                    ! ````
                    root@ioBroker-Tinker:/opt/iobroker# sudo npm cache clean
                    root@ioBroker-Tinker:/opt/iobroker# sudo iobroker install rflink
                    npm install iobroker.rflink --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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations]
                    Tov8::int32(v8::Handle v8::integeri) { return i->ToInt32(); }
                    ^
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8196): Use maybe version [-Wdeprecated-declarations]
                    Tov8::uint32(v8::Handle v8::integeri) { return i->ToUint32(); }
                    ^
                    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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:4008): Pass an isolate [-Wdeprecated-declarations]
                    return v8::BooleanObject::New(value).Asv8::booleanobject();
                    ^
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../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, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(const uint8_t*, int)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local v8::stringv8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
                    v8::String::kNormalString, length);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(v8::String::ExternalStringResource*)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local v8::stringv8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
                    return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                    ^
                    In file included from ../src/bufferutil.cc:16:0:
                    ../node_modules/nan/nan.h: At global scope:
                    ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template <class t="">v8::Local _NanEnsureLocal(v8::Local)’
                    NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                    ^
                    ../node_modules/nan/nan.h:256:25: note: ‘template <class t="">v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
                    NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                    ^
                    ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
                    ../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:6114): use IdleNotificationDeadline() [-Wdeprecated-declarations]
                    return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                    ^
                    ../node_modules/nan/nan.h: At global scope:
                    ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
                    v8::Isolate::GCEpilogueCallback callback
                    ^
                    ../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCEpilogueCallback callback
                    ^
                    ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
                    , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                    ^
                    ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
                    v8::Isolate::GCEpilogueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCEpilogueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
                    v8::Isolate::GCPrologueCallback callback
                    ^
                    ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCPrologueCallback callback
                    ^
                    ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
                    , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                    ^
                    ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
                    v8::Isolate::GCPrologueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCPrologueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
                    , node::smalloc::FreeCallback callback
                    ^
                    ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
                    , node::smalloc::FreeCallback callback
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(char*, size_t, int)’:
                    ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
                    v8::Isolate::GetCurrent(), data, length, callback, hint);
                    ^
                    ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
                    v8::Isolate::GetCurrent(), data, length, callback, hint);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(const char*, uint32_t)’:
                    ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
                    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                    ^
                    In file included from ../src/bufferutil.cc:10:0:
                    /root/.node-gyp/6.10.3/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t)’
                    NODE_EXTERN v8::MaybeLocal v8::objectNew(v8::Isolate* isolate,
                    ^
                    In file included from ../src/bufferutil.cc:16:0:
                    ../node_modules/nan/nan.h:672:67: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
                    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(uint32_t)’:
                    ../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
                    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanBufferUse(char*, uint32_t)’:
                    ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
                    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string)’:
                    ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                    ^
                    ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handlev8::object)’:
                    ../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [7], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
                    NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                    ^
                    ../src/bufferutil.cc:30:52: note: candidates are:
                    In file included from ../src/bufferutil.cc:8:0:
                    /root/.node-gyp/6.10.3/include/node/node.h:244:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
                    ^
                    /root/.node-gyp/6.10.3/include/node/node.h:257:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
                    ^
                    ../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [5], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
                    NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                    ^
                    ../src/bufferutil.cc:31:48: note: candidates are:
                    In file included from ../src/bufferutil.cc:8:0:
                    /root/.node-gyp/6.10.3/include/node/node.h:244:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
                    ^
                    /root/.node-gyp/6.10.3/include/node/node.h:257:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
                    ^
                    ../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [6], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
                    NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                    ^
                    ../src/bufferutil.cc:32:50: note: candidates are:
                    In file included from ../src/bufferutil.cc:8:0:
                    /root/.node-gyp/6.10.3/include/node/node.h:244:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
                    ^
                    /root/.node-gyp/6.10.3/include/node/node.h:257:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
                    ^
                    make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
                    gyp ERR! build error
                    gyp ERR! stack Error: make failed with exit code: 2
                    gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                    gyp ERR! stack at emitTwo (events.js:106:13)
                    gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                    gyp ERR! System Linux 4.4.16
                    gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
                    gyp ERR! node -v v6.10.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    In file included from ../node_modules/nan/nan.h:82:0,
                    from ../src/validation.cc:15:
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations]
                    Tov8::int32(v8::Handle v8::integeri) { return i->ToInt32(); }
                    ^
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8196): Use maybe version [-Wdeprecated-declarations]
                    Tov8::uint32(v8::Handle v8::integeri) { return i->ToUint32(); }
                    ^
                    In file included from ../node_modules/nan/nan_new.h:189:0,
                    from ../node_modules/nan/nan.h:82,
                    from ../src/validation.cc:15:
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:4008): Pass an isolate [-Wdeprecated-declarations]
                    return v8::BooleanObject::New(value).Asv8::booleanobject();
                    ^
                    ../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 (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../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, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(const uint8_t*, int)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local v8::stringv8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
                    v8::String::kNormalString, length);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(v8::String::ExternalStringResource*)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local v8::stringv8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
                    return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                    ^
                    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                    ^
                    In file included from ../src/validation.cc:15:0:
                    ../node_modules/nan/nan.h: At global scope:
                    ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template <class t="">v8::Local _NanEnsureLocal(v8::Local)’
                    NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                    ^
                    ../node_modules/nan/nan.h:256:25: note: ‘template <class t="">v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
                    NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                    ^
                    ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
                    ../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:6114): use IdleNotificationDeadline() [-Wdeprecated-declarations]
                    return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                    ^
                    ../node_modules/nan/nan.h: At global scope:
                    ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
                    v8::Isolate::GCEpilogueCallback callback
                    ^
                    ../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCEpilogueCallback callback
                    ^
                    ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
                    , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                    ^
                    ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
                    v8::Isolate::GCEpilogueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCEpilogueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
                    v8::Isolate::GCPrologueCallback callback
                    ^
                    ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCPrologueCallback callback
                    ^
                    ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
                    , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                    ^
                    ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
                    v8::Isolate::GCPrologueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                    v8::Isolate::GCPrologueCallback callback) {
                    ^
                    ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
                    , node::smalloc::FreeCallback callback
                    ^
                    ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
                    , node::smalloc::FreeCallback callback
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(char*, size_t, int)’:
                    ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
                    v8::Isolate::GetCurrent(), data, length, callback, hint);
                    ^
                    ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
                    v8::Isolate::GetCurrent(), data, length, callback, hint);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(const char*, uint32_t)’:
                    ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
                    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                    ^
                    In file included from ../src/validation.cc:10:0:
                    /root/.node-gyp/6.10.3/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t)’
                    NODE_EXTERN v8::MaybeLocal v8::objectNew(v8::Isolate* isolate,
                    ^
                    In file included from ../src/validation.cc:15:0:
                    ../node_modules/nan/nan.h:672:67: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
                    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(uint32_t)’:
                    ../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
                    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanBufferUse(char*, uint32_t)’:
                    ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
                    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string, const v8::ScriptOrigin&)’:
                    ../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                    ^
                    ../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string)’:
                    ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
                    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                    ^
                    ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handlev8::object)’:
                    ../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [12], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
                    NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                    ^
                    ../src/validation.cc:112:62: note: candidates are:
                    In file included from ../src/validation.cc:8:0:
                    /root/.node-gyp/6.10.3/include/node/node.h:244:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
                    ^
                    /root/.node-gyp/6.10.3/include/node/node.h:257:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
                    inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
                    ^
                    make: *** [Release/obj.target/validation/src/validation.o] Error 1
                    gyp ERR! build error
                    gyp ERR! stack Error: make failed with exit code: 2
                    gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                    gyp ERR! stack at emitTwo (events.js:106:13)
                    gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                    gyp ERR! System Linux 4.4.16
                    gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
                    gyp ERR! node -v v6.10.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                    npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    host.ioBroker-Tinker object system.adapter.rflink created
                    got /opt/iobroker/node_modules/iobroker.rflink/admin
                    upload [2] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/rflink.png rflink.png image/png
                    upload [1] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/parse.js parse.js application/javascript
                    upload [0] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/index.html index.html text/html
                    root@ioBroker-Tinker:/opt/iobroker#</v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::script></v8::string></v8::script></v8::script></v8::string></v8::script></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></class></class></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::string></v8::script></v8::script></v8::script></v8::string></v8::script></v8::script></v8::booleanobject></v8::value></v8::booleanobject></v8::booleanobject></v8::integer></v8::uint32></v8::uint32></v8::integer></v8::integer></v8::integer></v8::integer></v8::int32></v8::int32></v8::integer></v8::integer></v8::integer></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::script></v8::string></v8::script></v8::script></v8::string></v8::script></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></class></class></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::string></v8::script></v8::script></v8::script></v8::string></v8::script></v8::script></v8::booleanobject></v8::value></v8::booleanobject></v8::booleanobject></v8::integer></v8::uint32></v8::uint32></v8::integer></v8::integer></v8::integer></v8::integer></v8::int32></v8::int32></v8::integer></v8::integer></v8::integer>

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

                      Vor dem Update von rflink als es funktionierte, hattest du bereits​ node 6.x?

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

                        Hab ich gerade überprüft.

                        auf dem Pine64 war/ist noch 4.6.1.

                        Aber da läuft es auch nicht mehr seit dem letzten update.

                        Gruß

                        Rainer

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

                          Habe jetzt auf dem Pine64 auch nochmal radikal alle möglichen Reste vom rf-Link entsorgt, npm cache geleert und anschließend mit sudo su die Installation angestoßen.

                          Es läuft dort tatsächlich.

                          Hier ist der dev/ttyUSB0 verfügbar.

                          Unter node6, bzw auf dem Tinkerboard ist dieser Port nicht verfügbar gewesen, nur dev/ttyS0 - dev/ttyS3 (beim Pine64 sind es ttyS0 - ttyS4 + ttyUSB0)

                          Gruß

                          Rainer

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          887
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          3
                          14
                          1996
                          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