{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node-gyp/issues/569","repository_url":"https://api.github.com/repos/nodejs/node-gyp","labels_url":"https://api.github.com/repos/nodejs/node-gyp/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node-gyp/issues/569/comments","events_url":"https://api.github.com/repos/nodejs/node-gyp/issues/569/events","html_url":"https://github.com/nodejs/node-gyp/issues/569","id":55705963,"node_id":"MDU6SXNzdWU1NTcwNTk2Mw==","number":569,"title":"xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance","user":{"login":"davis","id":4855619,"node_id":"MDQ6VXNlcjQ4NTU2MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4855619?v=4","gravatar_id":"","url":"https://api.github.com/users/davis","html_url":"https://github.com/davis","followers_url":"https://api.github.com/users/davis/followers","following_url":"https://api.github.com/users/davis/following{/other_user}","gists_url":"https://api.github.com/users/davis/gists{/gist_id}","starred_url":"https://api.github.com/users/davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davis/subscriptions","organizations_url":"https://api.github.com/users/davis/orgs","repos_url":"https://api.github.com/users/davis/repos","events_url":"https://api.github.com/users/davis/events{/privacy}","received_events_url":"https://api.github.com/users/davis/received_events","type":"User","site_admin":false},"labels":[{"id":69923770,"node_id":"MDU6TGFiZWw2OTkyMzc3MA==","url":"https://api.github.com/repos/nodejs/node-gyp/labels/MacOS","name":"MacOS","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":96,"created_at":"2015-01-28T02:32:53Z","updated_at":"2018-12-18T10:31:22Z","closed_at":"2015-12-02T11:25:55Z","author_association":"NONE","body":"# EDITED FOR PEOPLE JUST GETTING HERE\r\n\r\nSee https://github.com/nodejs/node-gyp/issues/569#issuecomment-255589932 and https://github.com/nodejs/node-gyp/issues/569#issuecomment-259421050, the warning can just be ignored. Command Line Tools works fine, you do not need the full Xcode.\r\n\r\nSee [here](https://github.com/nodejs/node-gyp/pull/1057) and [here](https://chromium-review.googlesource.com/c/external/gyp/+/492046) for more info.\r\n\r\n### Fix:\r\n\r\n```bash\r\nxcode-select --install # Install Command Line Tools if you haven't already.\r\nsudo xcode-select --switch /Library/Developer/CommandLineTools # Enable command line tools\r\n```\r\n\r\nthen just ignore the warning. \r\n\r\n### If your install is failing \r\n\r\nThere will be other errors nearer the end, almost certainly issues with the module you're trying to install or a dependency. Please report the error to that project.\r\n\r\n### If that doesn't work\r\n\r\nAre you seeing this when you run `node-gyp rebuild` or `npm install`? If not then it's nothing to do with `node-gyp`, raise a bug with the project you're using."},"comment":{"url":"https://api.github.com/repos/nodejs/node-gyp/issues/comments/448173756","html_url":"https://github.com/nodejs/node-gyp/issues/569#issuecomment-448173756","issue_url":"https://api.github.com/repos/nodejs/node-gyp/issues/569","id":448173756,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODE3Mzc1Ng==","user":{"login":"voronov007","id":2511018,"node_id":"MDQ6VXNlcjI1MTEwMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2511018?v=4","gravatar_id":"","url":"https://api.github.com/users/voronov007","html_url":"https://github.com/voronov007","followers_url":"https://api.github.com/users/voronov007/followers","following_url":"https://api.github.com/users/voronov007/following{/other_user}","gists_url":"https://api.github.com/users/voronov007/gists{/gist_id}","starred_url":"https://api.github.com/users/voronov007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voronov007/subscriptions","organizations_url":"https://api.github.com/users/voronov007/orgs","repos_url":"https://api.github.com/users/voronov007/repos","events_url":"https://api.github.com/users/voronov007/events{/privacy}","received_events_url":"https://api.github.com/users/voronov007/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T10:31:22Z","updated_at":"2018-12-18T10:31:22Z","author_association":"NONE","body":"> update node-gyp solved for me\r\n> $ [sudo] npm explore npm -g -- npm install node-gyp@latest\r\n\r\nSolved the issue for me"}}
{"actor":{"display_login":"voronov007"}}