Open tedivm opened 9 years ago
I have the same problem ,could you tell me when solved it
Try the top solution for this question: http://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error
This is an issue when installing any node modules that require compilation, and not limited to atom-term. Specifically you are failing to install pty (node_module). You are better off reporting this bug to npm, but it is expected behavior.
I solved it by running this line:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
If you have XCode beta, however, then use this:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
Now, if you also program with a language that also uses command line tools, be sure to run this command after you built and installed your software:
sudo xcode-select -s /Library/Developer/CommandLineTools
Also, the solution above does require xcode(or beta) installed.
I have the xcode command line tools installed, but not the full blown xcode ide itself. It seems that this is a dependency for this application, so I get a nasty error when I attempt things.
I have no problem with xcode being a requirement, but you may want to make the error message something a little more straight forward to make it easier for people to figure out.