From 73f8c28addb7634cb0f36a7ecd2bcdb1dbbdb6a2 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 14 May 2014 15:34:19 -0700 Subject: [PATCH] Update windows build instructions --- docs/build-instructions/windows.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/build-instructions/windows.md b/docs/build-instructions/windows.md index c68a6c96d..5a13836c8 100644 --- a/docs/build-instructions/windows.md +++ b/docs/build-instructions/windows.md @@ -20,21 +20,23 @@ ## Why do I have to use GitHub for Windows? Can't I just use my existing Git? -You totally can! GitHub for Windows's Git Shell just takes less work to set up. You need to have Posix tools in your `%PATH%` (i.e. `grep`, `sed`, et al.), which isn't the default configuration when you install Git. To fix this, you probably need to fiddle with your system PATH. +You totally can! GitHub for Windows's Git Shell just takes less work to set up. +You need to have Posix tools in your `%PATH%` (i.e. `grep`, `sed`, et al.), +which isn't the default configuration when you install Git. To fix this, you +probably need to fiddle with your system PATH. ## Troubleshooting -Some of the most common errors include: +### Common Errors +* `node is not recognized` - gyp WARN install got an error, rolling back install -and + * If you just installed node you need to restart your computer before node is + available on your Path. - >> The system cannot find the path specified. -These two error messages can usually be ignored. The solution to these errors is to re-run `script\build`, possibly several times. +* `gyp WARN install got an error, rolling back install` or `The system cannot + find the path specified.` -If your Visual Studio is in a non-standard location, and you get the error `You must have Visual Studio 2010 or 2012 installed`, you need to modify `apm\node_modules\atom-package-manager\lib\config.js` around line 90 and replace the variable with your Visual Studio directory plus Common7/IDE. - -Example: - - vs2010Path = "H:/VS2010/Common7/IDE" \ No newline at end of file + * These two error messages can usually be ignored. An admittedly hacky + solution to these errors is to re-run `script\build`, possibly several + times.