TypeError: Cannot read property 'compare' of undefined
TypeError: Cannot read property 'compare' of undefined at Promise.<anonymous> (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/lib/session.js:62:20) at Promise.<anonymous> (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:177:8) at Promise.emit (events.js:107:17) at Promise.emit (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38) at Promise.fulfill (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:97:20) at Promise.resolve (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/lib/promise.js:114:23) at Promise.<anonymous> (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:177:8) at Promise.emit (events.js:107:17) at Promise.emit (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38) at Promise.fulfill (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mpromise/lib/promise.js:97:20) at /Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/lib/query.js:1400:13 at model.Document.init (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/lib/document.js:254:11) at completeOne (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/lib/query.js:1398:10) at Immediate.cb (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/lib/query.js:1155:11) at Immediate._onImmediate (/Users/ryan/Documents/agency/little-lexicon-v2/node_modules/keystone/node_modules/mongoose/node_modules/mquery/lib/utils.js:137:16) at processImmediate [as _immediateCallback] (timers.js:358:17)
xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder.Error: /usr/bin/xcode-select returned unexpected error.
xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder.Error: /usr/bin/xcode-select returned unexpected error.
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
CXX(target) Release/obj.target/binding/binding.occ1plus: error: unrecognized command line option "-std=c++11"cc1plus: error: unrecognized command line option "-stdlib=libc++"make: *** [Release/obj.target/binding/binding.o] Error 1gyp ERR! build errorgyp ERR! stack Error: `make` failed with exit code: 2gyp 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.emit (events.js:110:17)gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)gyp ERR! System Darwin 11.4.2gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /Users/ryan/Documents/agency/node_modules/node-sassgyp ERR! node -v v0.12.1gyp ERR! node-gyp -v v1.0.2gyp ERR! not okBuild failednpm ERR! Darwin 11.4.2npm ERR! argv "node" "/usr/local/bin/npm" "install"npm ERR! node v0.12.1npm ERR! npm v2.5.1npm ERR! code ELIFECYCLE
npm ERR! node...@1.0.3 install: `node build.js`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the node...@1.0.3 install script 'node build.js'.npm ERR! This is most likely a problem with the node-sass package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node build.jsnpm ERR! You can get their info via:npm ERR! npm owner ls node-sassnpm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR! /Users/ryan/Documents/agency/npm-debug.log