NEWS
iobroker bringt mich zum Verzweifeln...
-
OS: macOS 10.14 - Installation auf /usr/local/iobroker
Nach ca. 1 Jahr ohne Probleme lief von jetzt auf gleich nach einem Update eines Adapters nichts mehr..der NPM war weg, in der INFO Kachel stand NPM: -
Es ließ sich nichts mehr installieren.
Per Terminal brachten auch Update-Versuche von node.js keinen Erfolg. Alle tollen Anleitungen mit / ohne brew klappten nicht.Die supertolle Installationsroutine auf der Seite iobroker.ent zeigt immer an Ende ...installed successfully mit kilometerweise Fehlermeldungen...
Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop, dort ließ es sich aber auch nur wiederwillig installieren, da das max. Node das sich installieren ließ v10.15.2 mit npm v.5.8.0 war. Durch einen sudo npm install -g npm@6 konnte ich mit vielen Fehlermeldungen das npm zumindest auf 6.13.4 updaten. das Node ist irgendwie immer noch bei 10.15.2
Aktuell sehe ich zumindest eine halbwegs vertraute Oberfläche....
Hat irgendjemand eine Idee wie ich die Probleme mit dem MAC oder dem VB in den Griff bekommen kann.Gibt es eigentlich auch User die TeamVIEWER Support anbieten??
Gruß uns schöne Weihnachtstage.
Mario -
@marios774 sagte in iobroker bringt mich zum Verzweifeln...:
Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop
Raspbian Desktop ist nur für Raspberry geeignet.
in einer VM solltest du ein debian, passend zu deiner (simulierten) Hardware nehmen
@marios774 sagte in iobroker bringt mich zum Verzweifeln...:
Alle tollen Anleitungen mit / ohne brew klappten nicht.
Was ist das denn?
Stehen die bei uns auf der Website? -
Wie Homoran schon sagte musst du händisch installieren. Hier der Link: https://www.iobroker.net/#de/documentation/install/linux.md
-
Da ich bei einem normalen Debian VM an dem node 10.15. & npm 5.8.0 stecken geblieben bin, versuchte ich es eben folgendem.. Link
https://webnist.de/wie-man-raspberry-pi-desktop-unter-virtualbox-einrichtet/Bei i386 CPU's gibt es im Node wohl aktuell Probleme mit höheren Versionen.
Die folgenden Fehler entstehen beim Installation auf macOS mit Xcode und aktuelle Installation des node ..13.5.0.pkgmacos-10:~ user$ curl -sL https://iobroker.net/install.sh | bash - ========================================================================== Welcome to the ioBroker installer! Installer version: 2019-11-10 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Password: sudo: brew: command not found Changing npm registry to https://registry.npmjs.org Since brew is not installed, frequently-used dependencies could not be installed. Before installing some adapters, you might have to install some packages yourself. Please check the adapter manuals before installing them. ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== Directory /usr/local/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== ../src/unix_dgram.cc:118:8: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), ^ ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/unix_dgram.cc:127:8: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), ^ ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/unix_dgram.cc:189:37: error: too few arguments to function call, single argument 'context' was not specified domain = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:190:37: error: too few arguments to function call, single argument 'context' was not specified type = info[1]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:191:37: error: too few arguments to function call, single argument 'context' was not specified protocol = info[2]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:230:28: error: too few arguments to function call, single argument 'context' was not specified fd = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:231:21: error: no matching constructor for initialization of 'String::Utf8Value' String::Utf8Value path(info[1]); ^ ~~~~~~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: candidate constructor not viable: no known conversion from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument Utf8Value(const Utf8Value&) = delete; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^ ../src/unix_dgram.cc:258:28: error: too few arguments to function call, single argument 'context' was not specified fd = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:259:27: error: too few arguments to function call, single argument 'context' was not specified buf = info[1]->ToObject(); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 'ToObject' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:260:33: error: too few arguments to function call, single argument 'context' was not specified offset = info[2]->Uint32Value(); ~~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 'Uint32Value' declared here V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:261:33: error: too few arguments to function call, single argument 'context' was not specified length = info[3]->Uint32Value(); ~~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 'Uint32Value' declared here V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:262:21: error: no matching constructor for initialization of 'String::Utf8Value' String::Utf8Value path(info[4]); ^ ~~~~~~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: candidate constructor not viable: no known conversion from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument Utf8Value(const Utf8Value&) = delete; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^ ../src/unix_dgram.cc:302:28: error: too few arguments to function call, single argument 'context' was not specified fd = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:303:27: error: too few arguments to function call, single argument 'context' was not specified buf = info[1]->ToObject(); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 'ToObject' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:340:28: error: too few arguments to function call, single argument 'context' was not specified fd = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:341:21: error: no matching constructor for initialization of 'String::Utf8Value' String::Utf8Value path(info[1]); ^ ~~~~~~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: candidate constructor not viable: no known conversion from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument Utf8Value(const Utf8Value&) = delete; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^ ../src/unix_dgram.cc:361:28: error: too few arguments to function call, single argument 'context' was not specified fd = info[0]->Int32Value(); ~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 'Int32Value' declared here V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:395:11: error: no matching member function for call to 'Set' target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX)); ~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/unix_dgram.cc:396:11: error: no matching member function for call to 'Set' target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM)); ~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/unix_dgram.cc:399:63: error: too few arguments to function call, single argument 'context' was not specified Nan::New<FunctionTemplate>(Socket)->GetFunction()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 'GetFunction' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/unix_dgram.cc:402:61: error: too few arguments to function call, single argument 'context' was not specified Nan::New<FunctionTemplate>(Bind)->GetFunction()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 'GetFunction' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:305:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Darwin 18.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/iobroker/node_modules/unix-dgram gyp ERR! node -v v13.5.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok ../src/serialport.cpp:41:48: error: too few arguments to function call, single argument 'context' was not specified v8::String::Utf8Value path(info[0]->ToString()); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2750:3: note: 'ToString' declared here V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/serialport.cpp:48:53: error: too few arguments to function call, single argument 'context' was not specified v8::Local<v8::Object> options = info[1]->ToObject(); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 'ToObject' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/serialport.cpp:95:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:113:53: error: too few arguments to function call, single argument 'context' was not specified v8::Local<v8::Object> options = info[1]->ToObject(); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 'ToObject' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/serialport.cpp:150:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:188:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:231:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:250:53: error: too few arguments to function call, single argument 'context' was not specified v8::Local<v8::Object> options = info[1]->ToObject(); ~~~~~~~~~~~~~~~~~ ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 'ToObject' declared here V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ ../src/serialport.cpp:285:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:329:14: error: no matching member function for call to 'Set' results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<... ~~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/serialport.cpp:330:14: error: no matching member function for call to 'Set' results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<... ~~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/serialport.cpp:331:14: error: no matching member function for call to 'Set' results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<... ~~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/serialport.cpp:336:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:378:14: error: no matching member function for call to 'Set' results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan:... ~~~~~~~~~^~~ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^ /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate function not viable: requires 3 arguments, but 2 were provided V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^ ../src/serialport.cpp:383:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:424:18: warning: 'Call' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/serialport.cpp:460:8: error: variable has incomplete type 'void' void init(v8::Handle<v8::Object> target) { ^ ../src/serialport.cpp:460:34: error: expected '(' for function-style cast or type construction void init(v8::Handle<v8::Object> target) { ~~~~~~~~~~^ ../src/serialport.cpp:460:17: error: no member named 'Handle' in namespace 'v8' void init(v8::Handle<v8::Object> target) { ~~~~^ ../src/serialport.cpp:460:36: error: use of undeclared identifier 'target' void init(v8::Handle<v8::Object> target) { ^ ../src/serialport.cpp:460:43: error: expected ';' after top level declarator void init(v8::Handle<v8::Object> target) { ^ ; 8 warnings and 13 errors generated. make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:305:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Darwin 18.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/iobroker/node_modules/serialport gyp ERR! node -v v13.5.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... bash: line 1047: /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory Autostart enabled! bash: line 272: return: 10.211.55.4: numeric argument required ========================================================================== ioBroker was installed successfully Open http://:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console! macos-10:~ user$ node -v v13.5.0 macos-10:~ user$ npm -v 6.13.4
-
@marios774
Warum arbeitest du mit fremden Anleitungen.
Dafür geben wir keinen Support, weil wir diese (alle) weder überprüfen können/wollen, noch einen Einfluss auf die Richtigkeit haben!@marios774 sagte in iobroker bringt mich zum Verzweifeln...:
Bei i386 CPU's gibt es im Node wohl aktuell Probleme mit höheren Versionen.
Nein, das ist wahrscheinlich dein Problem!
Bei 64Bit Sytemene darf nicht mehr das i386 Image verwendet werden, sondern es muss das AMD64 Image verwendet werden, auch wenn es eine INTEL CPU ist -
Ich habe folgende verwendet und da läuft alles perfekt:
debian-10.1.0-amd64-netinst.iso