-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Getting the following error on install
npm install xpc-connection
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/xpc-connection
npm http 200 https://registry.npmjs.org/xpc-connection
npm http GET https://registry.npmjs.org/xpc-connection/-/xpc-connection-0.0.3.tgz
npm http 200 https://registry.npmjs.org/xpc-connection/-/xpc-connection-0.0.3.tgz
> [email protected] install /Users/facultymatt/Sites/labs/bluetooth/node_modules/xpc-connection
> node-gyp rebuild
make: Entering directory `/Users/facultymatt/Sites/labs/bluetooth/node_modules/xpc-connection/build'
CXX(target) Release/obj.target/binding/src/XpcConnection.o
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:161,
from ../src/XpcConnection.cpp:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:16: error: expected `}' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:16: error: expected unqualified-id before '=' token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:17: error: expected declaration before '}' token
make: *** [Release/obj.target/binding/src/XpcConnection.o] Error 1
make: Leaving directory `/Users/facultymatt/Sites/labs/bluetooth/node_modules/xpc-connection/build'
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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/facultymatt/Sites/labs/bluetooth/node_modules/xpc-connection
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the xpc-connection 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 their info via:
npm ERR! npm owner ls xpc-connection
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "xpc-connection"
npm ERR! cwd /Users/facultymatt/Sites/labs/bluetooth
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/facultymatt/Sites/labs/bluetooth/npm-debug.log
npm ERR! not ok code 0
Originally reported as error at noble/noble#75 but tracked to this package.
Metadata
Metadata
Assignees
Labels
No labels