Open ervinewell opened 4 years ago
I think that the answer is obvious. The library is not supported very well at last time. That's why you need to use a lower version of NodeJs.
I faced the same problem. The problem is that the version of Nodejs is too high. I sassiest you to use a lower Nodejs version (Mine is node -v9.11.2). To do this, try to install nvm and you'll find it extremely easy to use this tool to manage your versions (you can find tutorials on the Internet or simply use command 'nvm help')
npm i xpc-connection
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR CXX(target) Release/obj.target/binding/src/XpcConnection.o ../src/XpcConnection.cpp:103:41: warning: 'IntegerValue' is deprecated [-Wdeprecated-declarations] xpcObject = xpc_int64_create(value->IntegerValue()); ^ /Users/ervinewell/.node-gyp/10.16.0/include/node/v8.h:2476:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/ervinewell/.node-gyp/10.16.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/XpcConnection.cpp:113:40: warning: 'ToObject' is deprecated [-Wdeprecated-declarations] Local