1stsetup / node-lirc_client

NodeJS add-on to communicate with the lirc_client
GNU General Public License v2.0
2 stars 2 forks source link

installation problems #3

Open p1234321 opened 8 years ago

p1234321 commented 8 years ago

hello! thanky for your wonderful plugin! already searched a lot for something like this. sadly i'm getting errors during install: `npm install lirc_client

lirc_client@1.0.0 install /home/volumio/node_modules/lirc_client node-gyp rebuild

gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15) gyp ERR! System Linux 4.4.9+ gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/volumio/node_modules/lirc_client gyp ERR! node -v v6.3.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json' npm WARN volumio No description npm WARN volumio No repository field. npm WARN volumio No README data npm WARN volumio No license field. npm ERR! Linux 4.4.9+ npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client" npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE

npm ERR! lirc_client@1.0.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the lirc_client package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs lirc_client npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls lirc_client npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log`

please help

best regards

paul

1stsetup commented 8 years ago

Hi Paul,

It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:

Regards, Michel

p1234321 commented 8 years ago

wow! thanks for the fast reply!!! i just installed gcc and make but still get the same errors. i run volumio os (debían based distro)

here is the error:

volumio@jim:~$ npm install lirc_client

lirc_client@1.0.0 install /home/volumio/node_modules/lirc_client node-gyp rebuild

make: Entering directory '/home/volumio/node_modules/lirc_client/build' CXX(target) Release/obj.target/lirc_client/src/lirc_client.o make: g++: Command not found lirc_client.target.mk:90: recipe for target 'Release/obj.target/lirc_client/src/lirc_client.o' failed make: *\ [Release/obj.target/lirc_client/src/lirc_client.o] Error 127 make: Leaving directory '/home/volumio/node_modules/lirc_client/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/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:204:12) gyp ERR! System Linux 4.4.9+ gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/volumio/node_modules/lirc_client gyp ERR! node -v v6.3.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json' npm WARN volumio No description npm WARN volumio No repository field. npm WARN volumio No README data npm WARN volumio No license field. npm ERR! Linux 4.4.9+ npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client" npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE

npm ERR! lirc_client@1.0.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the lirc_client package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs lirc_client npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls lirc_client npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log volumio@jim:~$

thanks for the help

paul


paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443

Am 19.08.2016 um 17:36 schrieb Michel Verbraak notifications@github.com:

Hi Paul,

It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:

make gcc lirc-devel Regards, Michel

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241052348, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi6Ow3hompRPpaJyYk9fWZQepwyj-ks5qhc10gaJpZM4JodY6.

p1234321 commented 8 years ago

so now i figured out i had to install build-essentials and of course g++ (duhhh)… but now i still get the following error:

volumio@jim:~$ npm install lirc_client

lirc_client@1.0.0 install /home/volumio/node_modules/lirc_client node-gyp rebuild

make: Entering directory '/home/volumio/node_modules/lirc_client/build' CXX(target) Release/obj.target/lirc_client/src/lirc_client.o ../src/lirc_client.cc:32:8: error: 'uv_poll_t' does not name a type static uv_poll_t _readwatcher = NULL; ^ ../src/lirc_client.cc:55:23: error: variable or field 'io_event' declared void static void io_event (uv_pollt req, int status, int revents); ^ ../src/lirc_client.cc:55:23: error: 'uv_poll_t' was not declared in this scope ../src/lirc_client.cc:55:34: error: 'req' was not declared in this scope static void io_event (uv_poll_t* req, int status, int revents); ^ ../src/lirc_client.cc:55:39: error: expected primary-expression before 'int' static void io_event (uv_poll_t* req, int status, int revents); ^ ../src/lirc_client.cc:55:51: error: expected primary-expression before 'int' static void io_event (uv_poll_t* req, int status, int revents); ^ ../src/lirc_client.cc: In function 'void connect(v8::Handlev8::String, v8::Handlev8::Boolean, v8::Handlev8::String, v8::Handlev8::Function)': ../src/lircclient.cc:61:38: error: invalid conversion from 'int' to 'v8::Isolate' [-fpermissive] Local tmpArray = Array::New(1); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:3019:23: note: initializing argument 1 of 'static v8::Localv8::Array v8::Array::New(v8::Isolate, int)' static Local New(Isolate* isolate, int length = 0); ^ ../src/lirc_client.cc:62:29: error: no matching function for call to 'v8::Number::New(int)' tmpArray->Set(Number::New(0), configfiles); ^ ../src/lirc_client.cc:62:29: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: static v8::Localv8::Number v8::Number::New(v8::Isolate, double) static Local New(Isolate_ isolate, double value); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc: In function 'void connect(v8::Handlev8::String, v8::Handlev8::Boolean, v8::Handlev8::Array, v8::Handlev8::Function)': ../src/lirc_client.cc:72:54: error: no matching function for call to 'v8::Persistentv8::String::New(v8::Handlev8::String&)' gProgramName = Persistent::New( programname ); ^ ../src/lirc_client.cc:72:54: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: static T* v8::PersistentBase::New(v8::Isolate, T_) [with T = v8::String] T* PersistentBase::New(Isolate* isolate, T* that) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:73:47: error: no matching function for call to 'v8::Persistentv8::Boolean::New(v8::Handlev8::Boolean&)' gVerbose = Persistent::New( verbose ); ^ ../src/lirc_client.cc:73:47: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: static T* v8::PersistentBase::New(v8::Isolate, T_) [with T = v8::Boolean] T* PersistentBase::New(Isolate* isolate, T* that) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:80:45: error: could not convert 'gProgramName' from 'v8::Persistentv8::String' to 'v8::Handlev8::String {aka v8::Localv8::String}' char * writable = string2char(gProgramName); ^ ../src/lirc_client.cc:86:35: error: 'New' is not a member of 'v8::String' ThrowException(Exception::Error(String::New("Error on lirc_init."))); ^ ../src/lirc_client.cc:86:70: error: 'ThrowException' was not declared in this scope ThrowException(Exception::Error(String::New("Error on lirc_init."))); ^ ../src/lircclient.cc:90:52: error: no matching function for call to 'v8::Array::New()' configFiles = Persistent::New( Array::New() ); ^ ../src/lirc_client.cc:90:52: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:3019:23: note: static v8::Localv8::Array v8::Array::New(v8::Isolate, int) static Local New(Isolate_ isolate, int length = 0); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:3019:23: note: candidate expects 2 arguments, 0 provided ../src/lirc_client.cc:93:6: error: 'readwatcher' was not declared in this scope if (readwatcher == NULL) { ^ ../src/lirc_client.cc:94:23: error: 'uv_poll_t' does not name a type readwatcher = new uv_poll_t; ^ ../src/lirc_client.cc:97:32: error: 'uv_default_loop' was not declared in this scope uv_poll_init(uv_default_loop(), readwatcher, lircd_fd); ^ ../src/lirc_client.cc:97:58: error: 'uv_poll_init' was not declared in this scope uv_poll_init(uv_default_loop(), readwatcher, lircd_fd); ^ ../src/lirc_client.cc:99:32: error: 'UV_READABLE' was not declared in this scope uv_poll_start(readwatcher, UV_READABLE, io_event); ^ ../src/lirc_client.cc:99:45: error: 'io_event' was not declared in this scope uv_poll_start(readwatcher, UV_READABLE, io_event); ^ ../src/lirc_client.cc:99:53: error: 'uv_poll_start' was not declared in this scope uv_poll_start(readwatcher, UV_READABLE, io_event); ^ ../src/lirc_client.cc:102:42: error: no matching function for call to 'v8::Persistentv8::Function::New(v8::Handlev8::Function&)' global_cb = Persistent::New(cb); ^ ../src/lirc_client.cc:102:42: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: static T* v8::PersistentBase::New(v8::Isolate, T_) [with T = v8::Function] T* PersistentBase::New(Isolate* isolate, T* that) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7365:4: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:108:30: error: variable or field 'on_handle_close' declared void static void on_handle_close (uv_handle_t _handle) { ^ ../src/lirc_client.cc:108:30: error: 'uv_handle_t' was not declared in this scope ../src/lirc_client.cc:108:43: error: 'handle' was not declared in this scope static void on_handle_close (uv_handle_t handle) { ^ ../src/lirc_client.cc: In function 'void close()': ../src/lirc_client.cc:123:15: error: 'readwatcher' was not declared in this scope uv_poll_stop(readwatcher); ^ ../src/lirc_client.cc:123:28: error: 'uv_poll_stop' was not declared in this scope uv_poll_stop(readwatcher); ^ ../src/lirc_client.cc:124:12: error: 'uv_handle_t' was not declared in this scope uv_close((uv_handle_t )readwatcher, on_handle_close); ^ ../src/lirc_client.cc:124:25: error: expected primary-expression before ')' token uv_close((uv_handle_t )readwatcher, on_handle_close); ^ ../src/lirc_client.cc:124:41: error: 'on_handle_close' was not declared in this scope uv_close((uv_handle_t )readwatcher, on_handle_close); ^ ../src/lirc_client.cc:124:56: error: 'uv_close' was not declared in this scope uv_close((uv_handle_t *)readwatcher, on_handle_close); ^ ../src/lirc_client.cc: In function 'void addConfig(v8::Localv8::String)': ../src/lirc_client.cc:147:51: error: 'New' is not a member of 'v8::String' ThrowException(Exception::Error(String::Concat(String::New("Error on lirc_readconfig for file:"),name))); ^ ../src/lirc_client.cc:147:107: error: 'ThrowException' was not declared in this scope ThrowException(Exception::Error(String::Concat(String::New("Error on lirc_readconfig for file:"),name))); ^ ../src/lirc_client.cc:154:36: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' uint32t oldLength = configFiles->Length(); ^ ../src/lircclient.cc:156:15: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' configFiles->Set(String::New("length"), Number::New(oldLength+1)); ^ ../src/lircclient.cc:156:21: error: 'New' is not a member of 'v8::String' configFiles->Set(String::New("length"), Number::New(oldLength+1)); ^ ../src/lirc_client.cc:156:67: error: no matching function for call to 'v8::Number::New(uint32t)' configFiles->Set(String::New("length"), Number::New(oldLength+1)); ^ ../src/lirc_client.cc:156:67: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: static v8::Localv8::Number v8::Number::New(v8::Isolate, double) static Local New(Isolate* isolate, double value); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: candidate expects 2 arguments, 1 provided ../src/lircclient.cc:157:15: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' configFiles->Set(Number::New(oldLength), name); ^ ../src/lirc_client.cc:157:42: error: no matching function for call to 'v8::Number::New(uint32t&)' configFiles->Set(Number::New(oldLength), name); ^ ../src/lirc_client.cc:157:42: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: static v8::Localv8::Number v8::Number::New(v8::Isolate, double) static Local New(Isolate_ isolate, double value); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:160:35: error: 'New' is not a member of 'v8::String' ThrowException(Exception::Error(String::New("Config buffer is full."))); ^ ../src/lirc_client.cc:160:73: error: 'ThrowException' was not declared in this scope ThrowException(Exception::Error(String::New("Config buffer is full."))); ^ ../src/lirc_client.cc: In function 'void addConfig(v8::Handlev8::Array)': ../src/lirc_client.cc:169:51: error: 'New' is not a member of 'v8::String' ThrowException(Exception::Error(String::Concat(String::New("Array element is not a String:"),names->Get(i)->ToString()))); ^ ../src/lirc_client.cc:169:124: error: 'ThrowException' was not declared in this scope ThrowException(Exception::Error(String::Concat(String::New("Array element is not a String:"),names->Get(i)->ToString()))); ^ ../src/lirc_client.cc: In function 'void clearConfig()': ../src/lircclient.cc:179:14: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' configFiles->Set(String::New("length"), Number::New(0)); ^ ../src/lircclient.cc:179:20: error: 'New' is not a member of 'v8::String' configFiles->Set(String::New("length"), Number::New(0)); ^ ../src/lircclient.cc:179:56: error: no matching function for call to 'v8::Number::New(int)' configFiles->Set(String::New("length"), Number::New(0)); ^ ../src/lirc_client.cc:179:56: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: static v8::Localv8::Number v8::Number::New(v8::Isolate, double) static Local New(Isolate_ isolate, double value); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:190:37: error: 'Arguments' does not name a type static Handle Connect (const Arguments& args) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value Connect(const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:191:14: error: within this context HandleScope scope; ^ ../src/lircclient.cc:194:20: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc:197:11: error: request for member 'Length' in 'args', which is of non-class type 'const int' if (args.Length() > 4) { ^ ../src/lirc_client.cc:198:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only four arguments are allowed."))); ^ ../src/lirc_client.cc:198:94: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only four arguments are allowed."))); ^ ../src/lirc_client.cc:206:24: error: request for member 'Length' in 'args', which is of non-class type 'const int' for(int i=0; i < args.Length(); i++) { ^ ../src/lirc_client.cc:207:13: error: invalid types 'const int[int]' for array subscript if (args[i]->IsString()) { ^ ../src/lirc_client.cc:209:48: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only two String argument are allowed (Program name and Config files)."))); ^ ../src/lirc_client.cc:209:133: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only two String argument are allowed (Program name and Config files)."))); ^ ../src/lirc_client.cc:218:18: error: invalid types 'const int[int]' for array subscript else if (args[i]->IsBoolean()) { ^ ../src/lirc_client.cc:220:48: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only one boolean argument is allowed (verbose)."))); ^ ../src/lirc_client.cc:220:111: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only one boolean argument is allowed (verbose)."))); ^ ../src/lirc_client.cc:224:18: error: invalid types 'const int[int]' for array subscript else if (args[i]->IsFunction()) { ^ ../src/lirc_client.cc:226:48: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only one Callback Function argument is allowed (cb)."))); ^ ../src/lirc_client.cc:226:116: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only one Callback Function argument is allowed (cb)."))); ^ ../src/lirc_client.cc:230:18: error: invalid types 'const int[int]' for array subscript else if (args[i]->IsArray()) { ^ ../src/lirc_client.cc:232:48: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only one Array argument is allowed (Config files)."))); ^ ../src/lirc_client.cc:232:114: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only one Array argument is allowed (Config files)."))); ^ ../src/lirc_client.cc:239:42: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::Error(String::New("Programname is required."))); ^ ../src/lirc_client.cc:239:82: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::Error(String::New("Programname is required."))); ^ ../src/lirc_client.cc:243:42: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::Error(String::New("Callback function is required."))); ^ ../src/lirc_client.cc:243:88: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::Error(String::New("Callback function is required."))); ^ ../src/lirc_client.cc:247:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. verbose must be before config files."))); ^ ../src/lirc_client.cc:247:127: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. verbose must be before config files."))); ^ ../src/lirc_client.cc:251:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. program name must be before config files."))); ^ ../src/lirc_client.cc:251:132: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. program name must be before config files."))); ^ ../src/lirc_client.cc:255:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. program name must be before verbose."))); ^ ../src/lirc_client.cc:255:127: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Order of arguments is wrong. program name must be before verbose."))); ^ ../src/lirc_client.cc:259:30: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), String::New(""), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:259:82: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), String::New(""), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:259:117: error: no matching function for call to 'v8::Boolean::New(bool)' connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), String::New(""), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:259:117: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: static v8::Localv8::Boolean v8::Boolean::New(v8::Isolate, bool) Local Boolean::New(Isolate_ isolate, bool value) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:259:120: error: 'New' is not a member of 'v8::String' connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), String::New(""), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:259:171: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), String::New(""), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:261:27: error: invalid types 'const int[int]' for array subscript else if (args[configindex]->IsArray()) { ^ ../src/lirc_client.cc:262:30: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), Local::Cast(args[configindex]), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:262:82: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), Local::Cast(args[configindex]), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:262:117: error: no matching function for call to 'v8::Boolean::New(bool)' connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), Local::Cast(args[configindex]), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:262:117: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: static v8::Localv8::Boolean v8::Boolean::New(v8::Isolate, bool) Local Boolean::New(Isolate_ isolate, bool value) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:262:155: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), Local::Cast(args[configindex]), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:262:193: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), Local::Cast(args[configindex]), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:264:27: error: invalid types 'const int[int]' for array subscript else if (args[configindex]->IsString()) { ^ ../src/lirc_client.cc:265:30: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), args[configindex]->ToString(), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:265:82: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), args[configindex]->ToString(), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:265:117: error: no matching function for call to 'v8::Boolean::New(bool)' connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), args[configindex]->ToString(), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:265:117: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: static v8::Localv8::Boolean v8::Boolean::New(v8::Isolate, bool) Local Boolean::New(Isolate_ isolate, bool value) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc:265:136: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), args[configindex]->ToString(), Local::Cast(args[cbindex])); ^ ../src/lirc_client.cc:265:185: error: invalid types 'const int[int]' for array subscript connect( args[prognameindex]->ToString(), verboseindex > -1 ? args[verboseindex]->ToBoolean() : Boolean::New(false), args[configindex]->ToString(), Local::Cast(args[cbindex])); ^ ../src/lircclient.cc:268:19: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:271:39: error: 'Arguments' does not name a type static Handle ReConnect (const Arguments& args) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value ReConnect(const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:272:14: error: within this context HandleScope scope; ^ ../src/lircclient.cc:275:20: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lircclient.cc:278:27: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' int length = configFiles->Length(); ^ ../src/lircclient.cc:279:43: error: invalid conversion from 'int' to 'v8::Isolate' [-fpermissive] Local tmpArray = Array::New(length); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:3019:23: note: initializing argument 1 of 'static v8::Localv8::Array v8::Array::New(v8::Isolate, int)' static Local New(Isolate* isolate, int length = 0); ^ ../src/lircclient.cc:281:30: error: no matching function for call to 'v8::Number::New(int&)' tmpArray->Set(Number::New(i), configFiles->Get(i)); ^ ../src/lirc_client.cc:281:30: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: static v8::Localv8::Number v8::Number::New(v8::Isolate, double) static Local New(Isolate_ isolate, double value); ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:2534:24: note: candidate expects 2 arguments, 1 provided ../src/lircclient.cc:281:45: error: base operand of '->' has non-pointer type 'v8::Persistentv8::Array' tmpArray->Set(Number::New(i), configFiles->Get(i)); ^ ../src/lirc_client.cc:283:53: error: no matching function for call to 'connect(v8::Persistentv8::String&, v8::Persistentv8::Boolean&, v8::Localv8::Array&, v8::Persistentv8::Function&)' connect(gProgramName, gVerbose, tmpArray, global_cb); ^ ../src/lirc_client.cc:283:53: note: candidates are: ../src/lirc_client.cc:66:6: note: void connect(v8::Handlev8::String, v8::Handlev8::Boolean, v8::Handlev8::Array, v8::Handlev8::Function) void connect(Handle programname, Handle verbose, Handle configfiles, Handle cb) { ^ ../src/lirc_client.cc:66:6: note: no known conversion for argument 1 from 'v8::Persistentv8::String' to 'v8::Handlev8::String {aka v8::Localv8::String}' ../src/lirc_client.cc:60:6: note: void connect(v8::Handlev8::String, v8::Handlev8::Boolean, v8::Handlev8::String, v8::Handlev8::Function) void connect(Handle programname, Handle verbose, Handle configfiles, Handle cb) { ^ ../src/lirc_client.cc:60:6: note: no known conversion for argument 1 from 'v8::Persistentv8::String' to 'v8::Handlev8::String {aka v8::Localv8::String}' ../src/lircclient.cc:285:19: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:288:35: error: 'Arguments' does not name a type static Handle Close (const Arguments& args) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value Close(const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:289:19: error: within this context HandleScope scope; ^ ../src/lircclient.cc:293:24: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:296:39: error: 'Arguments' does not name a type static Handle AddConfig (const Arguments& args) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value AddConfig(const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:297:14: error: within this context HandleScope scope; ^ ../src/lirc_client.cc:299:11: error: request for member 'Length' in 'args', which is of non-class type 'const int' if (args.Length() != 1) { ^ ../src/lirc_client.cc:300:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only one Array or String argument is allowed."))); ^ ../src/lirc_client.cc:300:107: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only one Array or String argument is allowed."))); ^ ../src/lirc_client.cc:303:12: error: invalid types 'const int[int]' for array subscript if (args[0]->IsArray()) { ^ ../src/lirc_client.cc:304:38: error: invalid types 'const int[int]' for array subscript addConfig(Local::Cast(args[0])); ^ ../src/lirc_client.cc:306:17: error: invalid types 'const int[int]' for array subscript else if (args[0]->IsString()) { ^ ../src/lirc_client.cc:307:19: error: invalid types 'const int[int]' for array subscript addConfig(args[0]->ToString()); ^ ../src/lirc_client.cc:310:46: error: 'New' is not a member of 'v8::String' return ThrowException(Exception::TypeError(String::New("Only an Array or a String argument is allowed."))); ^ ../src/lirc_client.cc:310:108: error: 'ThrowException' was not declared in this scope return ThrowException(Exception::TypeError(String::New("Only an Array or a String argument is allowed."))); ^ ../src/lircclient.cc:313:19: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:316:41: error: 'Arguments' does not name a type static Handle ClearConfig (const Arguments& args) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value ClearConfig(const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:317:14: error: within this context HandleScope scope; ^ ../src/lircclient.cc:321:19: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:325:51: error: 'AccessorInfo' does not name a type const AccessorInfo& info) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value IsConnectedGetter(v8::Localv8::String, const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:328:14: error: within this context HandleScope scope; ^ ../src/lirc_client.cc:330:15: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(Boolean::New(!closed)); ^ ../src/lirc_client.cc:330:41: error: no matching function for call to 'v8::Boolean::New(bool)' return scope.Close(Boolean::New(!closed)); ^ ../src/lirc_client.cc:330:41: note: candidate is: In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: static v8::Localv8::Boolean v8::Boolean::New(v8::Isolate, bool) Local Boolean::New(Isolate_ isolate, bool value) { ^ /home/volumio/.node-gyp/6.3.0/include/node/v8.h:7796:16: note: candidate expects 2 arguments, 1 provided ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:334:51: error: 'AccessorInfo' does not name a type const AccessorInfo& info) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value ModeGetter(v8::Localv8::String, const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:337:14: error: within this context HandleScope scope; ^ ../src/lircclient.cc:345:20: error: too few arguments to function 'v8::Localv8::Primitive v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lircclient.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h:322:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/lircclient.cc:348:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(String::New(mode, strlen(mode_))); ^ ../src/lircclient.cc:348:22: error: 'New' is not a member of 'v8::String' return scope.Close(String::New(mode, strlen(mode_))); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:353:51: error: 'AccessorInfo' does not name a type const AccessorInfo& info) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'void ModeSetter(v8::Localv8::String, v8::Localv8::Value, const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:356:14: error: within this context HandleScope scope; ^ ../src/lirc_client.cc:359:39: error: 'New' is not a member of 'v8::String' ThrowException(Exception::TypeError(String::New("Mode should be a string value"))); ^ ../src/lirc_client.cc:359:84: error: 'ThrowException' was not declared in this scope ThrowException(Exception::TypeError(String::New("Mode should be a string value"))); ^ ../src/lirc_client.cc:369:39: error: 'New' is not a member of 'v8::String' ThrowException(Exception::TypeError(String::New("Cannot set mode on empty config"))); ^ ../src/lirc_client.cc:369:86: error: 'ThrowException' was not declared in this scope ThrowException(Exception::TypeError(String::New("Cannot set mode on empty config"))); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:375:51: error: 'AccessorInfo' does not name a type const AccessorInfo& info) { ^ In file included from /home/volumio/.node-gyp/6.3.0/include/node/node.h:42:0, from ../src/lirc_client.cc:7: /home/volumio/.node-gyp/6.3.0/include/node/v8.h: In function 'v8::Handlev8::Value ConfigFilesGetter(v8::Localv8::String, const int&)': /home/volumio/.node-gyp/6.3.0/include/node/v8.h:904:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/lirc_client.cc:378:14: error: within this context HandleScope scope; ^ ../src/lircclient.cc:380:15: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(configFiles); ^ ../src/lirc_client.cc: At global scope: ../src/lirc_client.cc:384:23: error: variable or field 'io_event' declared void static void io_event (uv_poll_t* req, int status, int revents) { ^ ../src/lirc_client.cc:384:23: error: 'uv_poll_t' was not declared in this scope ../src/lirc_client.cc:384:34: error: 'req' was not declared in this scope static void io_event (uv_poll_t* req, int status, int revents) { ^ ../src/lirc_client.cc:384:39: error: expected primary-expression before 'int' static void io_event (uv_poll_t* req, int status, int revents) { ^ ../src/lirc_client.cc:384:51: error: expected primary-expression before 'int' static void io_event (uv_poll_t* req, int status, int revents) { ^ ../src/lirc_client.cc:190:22: warning: 'v8::Handlev8::Value Connect(const int&)' defined but not used [-Wunused-function] static Handle Connect (const Arguments& args) { ^ ../src/lirc_client.cc:271:22: warning: 'v8::Handlev8::Value ReConnect(const int&)' defined but not used [-Wunused-function] static Handle ReConnect (const Arguments& args) { ^ ../src/lirc_client.cc:288:22: warning: 'v8::Handlev8::Value Close(const int&)' defined but not used [-Wunused-function] static Handle Close (const Arguments& args) { ^ ../src/lirc_client.cc:296:22: warning: 'v8::Handlev8::Value AddConfig(const int&)' defined but not used [-Wunused-function] static Handle AddConfig (const Arguments& args) { ^ ../src/lirc_client.cc:316:22: warning: 'v8::Handlev8::Value ClearConfig(const int&)' defined but not used [-Wunused-function] static Handle ClearConfig (const Arguments& args) { ^ ../src/lirc_client.cc:324:22: warning: 'v8::Handlev8::Value IsConnectedGetter(v8::Localv8::String, const int&)' defined but not used [-Wunused-function] static Handle IsConnectedGetter (Local property, ^ ../src/lirc_client.cc:333:22: warning: 'v8::Handlev8::Value ModeGetter(v8::Localv8::String, const int&)' defined but not used [-Wunused-function] static Handle ModeGetter (Local property, ^ ../src/lirc_client.cc:352:13: warning: 'void ModeSetter(v8::Localv8::String, v8::Localv8::Value, const int&)' defined but not used [-Wunused-function] static void ModeSetter (Local property, Local value, ^ ../src/lirc_client.cc:374:22: warning: 'v8::Handlev8::Value ConfigFilesGetter(v8::Localv8::String, const int&)' defined but not used [-Wunused-function] static Handle ConfigFilesGetter (Local property, ^ lirc_client.target.mk:90: recipe for target 'Release/obj.target/lirc_client/src/lirc_client.o' failed make: *\ [Release/obj.target/lirc_client/src/lirc_client.o] Error 1 make: Leaving directory '/home/volumio/node_modules/lirc_client/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/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:204:12) gyp ERR! System Linux 4.4.9+ gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/volumio/node_modules/lirc_client gyp ERR! node -v v6.3.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json' npm WARN volumio No description npm WARN volumio No repository field. npm WARN volumio No README data npm WARN volumio No license field. npm ERR! Linux 4.4.9+ npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client" npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE

npm ERR! lirc_client@1.0.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the lirc_client package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs lirc_client npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls lirc_client npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log

sooooo many thanks!!!


paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443

Am 19.08.2016 um 17:36 schrieb Michel Verbraak notifications@github.com:

Hi Paul,

It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:

make gcc lirc-devel Regards, Michel

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241052348, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi6Ow3hompRPpaJyYk9fWZQepwyj-ks5qhc10gaJpZM4JodY6.

1stsetup commented 8 years ago

Paul, It appears that nodejs has changed some thing in dependencies and other part. So I need to check what has changed ad how to modify the source to comply to it. Originally this module was written for nodejs 0.10 but I see you are using 6.3

So either use nodejs 0.10 or wait until I have time to fix it. You may also try to fix it yourself and provide the fix..

Regards Michel.

p1234321 commented 8 years ago

thank you very much for all the effort. i’m not really a programmer so i doubt i could make the fix. but please let me know if and when you find time to fix it. but i of course understand that it will take some while…

best regards and many thanks again

paul


paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443

Am 20.08.2016 um 11:31 schrieb Michel Verbraak notifications@github.com:

Paul, It appears that nodejs has changed some thing in dependencies and other part. So I need to check what has changed ad how to modify the source to comply to it. Originally this module was written for nodejs 0.10 but I see you are using 6.3

So either use nodejs 0.10 or wait until I have time to fix it. You may also try to fix it yourself and provide the fix..

Regards Michel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241189691, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi8s1tuH34_50X1GUCLIg1mylstmiks5qhslmgaJpZM4JodY6.