Skip to content

Instantly share code, notes, and snippets.

@shunya
Created November 11, 2012 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shunya/4053552 to your computer and use it in GitHub Desktop.
Save shunya/4053552 to your computer and use it in GitHub Desktop.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
Traceback (most recent call last):
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/gyp", line 18, in <module>
sys.exit(gyp.main(sys.argv[1:]))
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 511, in main
return gyp_main(args)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 503, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/generator/make.py", line 2095, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/generator/make.py", line 764, in Write
self.Pchify))
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/generator/make.py", line 1137, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/xcode_emulation.py", line 260, in GetCflags
sdk_root = self._SdkPath()
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/xcode_emulation.py", line 247, in _SdkPath
return os.path.join(self._GetSdkBaseDir(),
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/xcode_emulation.py", line 234, in _GetSdkBaseDir
raise Exception('Error %d running xcode-select' % job.returncode)
Exception: Error 1 running xcode-select
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:350:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ravigundlapalli/OTHER/wonderland-labs/node_modules/nuby-express/node_modules/microtime
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! microtime@0.3.3 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the microtime@0.3.3 install script.
npm ERR! This is most likely a problem with the microtime 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 microtime
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/ravigundlapalli/OTHER/wonderland-labs
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/formidable
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ravigundlapalli/OTHER/wonderland-labs/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment