pj@PJs-MacbookPro:~/Documents/Personal/Learning/Node-js/sandbox/Givesomebody$ npm install loopback-connector-mongodb --save
npm WARN package.json Giveso...@1.0.0 No license field.
\
> kerb...@0.0.14 install /Users/pj/Documents/Personal/Learning/Node-js/sandbox/Givesomebody/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
2015-10-02 12:08:44.274 xcodebuild[15851:1060183] Error loading /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/MacOS/iPhoneOS Build System Support: dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/MacOS/iPhoneOS Build System Support, 265): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/DTDeviceKitBase
Reason: no suitable image found. Did find:
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice: GC capability mismatch
2015-10-02 12:08:44.275 xcodebuild[15851:1060183] WARNING: Failed to load plugin at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin, skipping. Could not load bundle.
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:
In file included from ../lib/kerberos.h:4:
In file included from /Users/pj/.node-gyp/0.12.4/src/node.h:61:
In file included from /Users/pj/.node-gyp/0.12.4/deps/v8/include/v8.h:18:
/Users/pj/.node-gyp/0.12.4/deps/v8/include/v8stdint.h:11:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/pj/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Users/pj/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/pj/Documents/Personal/Learning/Node-js/sandbox/Givesomebody/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
loopback-conn...@1.13.0 node_modules/loopback-connector-mongodb
├── as...@1.4.2
├── loopback-...@2.3.0
├── de...@2.2.0 (m...@0.7.1)
└── mon...@2.0.45 (es6-p...@2.1.1, readabl...@1.0.31, mongod...@1.2.14)
loopback-connector-mongodb@1.13.0 node_modules/loopback-connector-mongodb