$ ./iobroker add tuya --host iobroker NPM version: 4.6.1 npm install iobroker.tuya --production --save --prefix "/opt/iobroker" (System call) npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/6.14.4"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp" ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1gyp 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:285: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:219:12)gyp ERR! System Linux 4.4.59+ 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-pam gyp ERR! node -v v6.14.4 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/6.14.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/bufferutil/.node-gyp" 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::Handle) [with T = v8::Int32; v8::Handle = v8::Local]’: ../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To(v8::Handle i) { return i->ToInt32(); } ^ In file included from ../src/bufferutil.cc:7:0:/opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:8214:14: note: declared here Local Value::ToInt32() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handle) [with T = v8::Uint32; v8::Handle = v8::Local]’: ../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To(v8::Handle i) { return i->ToUint32(); } ^ In file included from ../src/bufferutil.cc:7:0:/opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:8208:15: note: declared here Local Value::ToUint32() const { ^~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase::return_t NanIntern::Factory::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations] return v8::BooleanObject::New(value).As(); ^ In file included from /opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:25:0, from ../src/bufferutil.cc:7: /opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:4009:56: note: declared here V8_DEPRECATED("Pass an isolate", static Local New(bool value)); ^ /opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase::return_t NanIntern::Factory::New(v8::Local)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from /opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:25:0, from ../src/bufferutil.cc:7: /opt/iobroker/node_modules/bufferutil/.node-gyp/6.14.4/include/node/v8.h:1354:21: note: declared here Local