Closed
Description
- Node Version: node v10.4.0 npm 6.1.0
- Platform: MacOS
- Compiler: Apple LLVM version 10.0.0 (clang-1000.10.25.5)
- Module:
Verbose output (from npm or node-gyp):
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Some strange behavior: When I use the npm script to run the node-gyp would rebuild failed, but ./node_modules/node-gyp/bin/node-gyp.js
will run ok.
$ xcode-select -p
/Library/Developer/CommandLineTools