-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems on Mavericks with only Command Line Tools installed #341
Comments
+1 |
1 similar comment
+1 |
I also have this problem, don't really want to install xcode. |
+1 |
2 similar comments
+1 |
+1 |
Had this same error installing contextify as pert of jsdom on a clean install of Mavericks. Unfortunately the workaround was to install Xcode. |
Installing the latest version of command line tools for mavericks fixed the issue for me. |
Hmmm...Still not working for me. |
👍 Latest Command Line Tools (late October) don't work for me either |
+1 |
Everyone please try node-gyp v0.12.1 please. This is hopefully fixed. |
Still getting the error.
|
I'm getting reports that this is still an issue. Reopening. However, it's an upstream gyp issues. Has anybody reported an issue on the gyp issue tracker that we can reference for here? |
Hi, I can confirm that I have this issue as well. OSX 10.9 (Mavericks) with Command Line Tools for Mavericks (Late October) installed. I've raised an issue with the Gyp project here: https://code.google.com/p/gyp/issues/detail?id=383&thanks=383&ts=1385034279 Is that what you meant? I don't know much about the background to this issue - so if somebody (e.g. @TooTallNate ) could add proper details, that would be great. Cheers, |
+1 |
Installing XCode as a whole fixed the problem for me. |
+1 . Installing XCode but only because of this... |
suks :( |
I have installed the whole xcode but still get this error :( any ideas? |
I am running on Mac OS X 10.7.5, I already had Xcode installed (v. 4.6.2) and just recently installed Command Line Tools but it is still not working. Any ideas? |
Hi, Is there any word on whether this will eventually work with just Command Line Tools, and not the full XCode suite? It seems a bit weird to have to install 4-5 Gb worth of XCode, just to get this one thing to compile. Cheers, |
yes this sucks , i need a solution for this guys |
i have xcode installed and i get the same issue |
Until this is fixed, the workaround to use node-gyp on Mavericks is:
|
+1 |
1 similar comment
+1 |
Guys, I've reopened the ticket since this is apparently still an issue, but please stop +1'ing it here. There's really nothing I can do, it's up to the Google guys at this point: https://code.google.com/p/gyp/issues/detail?id=383 |
Zach, I’d like to know as well. I feel a little iffy about it myself. I honestly have no clue, because I’ve never built anything using the XCode development environment. On Feb 9, 2014, at 6:08 PM, Zach Harkey notifications@github.com wrote:
|
Thanks @Poohblah your suggestion fixed it for me 👍 |
Any update on a better solution? |
Whilst @Poohblah's solution works (and is the only solution that worked in this thread), I feel there has to be a better fix than this! @TooTallNate - is this something you can fix again? I'm using node-gyp 1.0.1, and have made sure my npm version is using 1.0.1 too. |
Any better solution? |
This still hasn't been fixed? I really, really do not want to install Xcode. |
To re-iterate @Poohblah's solution: The Error
The Solution
|
I get this warning (whether I use 0.10, 0.11, 0.12, or io.js) but then everything seems to work fine anyway. I do get output from |
Can you give me an answer? |
@ilei 42. |
I have faced the same problem and resolved by installing the xcode6. |
Problem still exists in Yosemite. Wish there was a way NOT to install 3GB xcode 👎 |
Not 3GB. Fully installed Xcode is 6GB according to AppCleaner, probably including libraries and frameworks outside Xcode. Utterly ridiculous that I have to give up 6GB on my 100GB SSD for something I'll never use. |
thanks @jesstelford, your solution worked perfectly! 👍 |
Thanks @Poohblah, it works for me. |
You can also symlink # Fix XcodeBuild Issue
if [[ -d '/Applications/XCode.app' ]] || [[ -d '/Developer/Applications/XCode.app' ]]; then
echo 'Xcode Seems to be installed...'
else
if [[ ! $(xcodebuild | grep 'requires Xcode') ]]; then
echo 'Fixing the Xcodebuild issue by symlinking xcodebuild to true'
ln -s /usr/bin/true /usr/local/bin/xcodebuild
source '/etc/profile'
fi
fi |
Also getting this error ... |
|
I'm also getting this error. @bdwyertech @mourner can you explain where to put this code and how to run it, for someone who is less familiar with bash scripts? Has anyone confirmed whether this works on El Capitan? The only silver lining I've seen is that Xcode seems to have dropped in size down to only 4GB ... |
@jelpern: @bdwyertech's script (thank you!!) works for me under El Capitan (OSX 10.11). You can just put it in a new file anywhere, and call it e.g. |
Thank you @MarcDiethelm. Would there be any downside to putting this in my .bash_profile? Also why does this need to be run as sudo? |
Thanks @jesstelford, your solution worked for me on El Capitan. |
I have installed the Command Line Tools:
However, when anything tries to use
node-gyp
, I get the following error:On Mountain Lion it was possible to use this without installing the whole of Xcode, rather just the Command Line Tools. Is it possible to do this on Mavericks? How can I get it working?
N.B. This is on a clean install of Mavericks.
The text was updated successfully, but these errors were encountered: