From f188b9ac4e49c4d7b3a743fdc73d36c8f3964eeb Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 26 May 2016 14:48:41 +0200 Subject: [PATCH] Address "node-gyp not found" in windows build troubleshooting --- docs/build-instructions/windows.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/build-instructions/windows.md b/docs/build-instructions/windows.md index d0e101ba0..8ecb864b5 100644 --- a/docs/build-instructions/windows.md +++ b/docs/build-instructions/windows.md @@ -91,6 +91,9 @@ If none of this works, do install Github Desktop and use its Git Shell as it mak * `error MSB8020: The build tools for Visual Studio 201? (Platform Toolset = 'v1?0') cannot be found.` * If you're building Atom with Visual Studio 2013 try setting the `GYP_MSVS_VERSION` environment variable to 2013 and then `script/clean` followed by `script/build` (re-open your command prompt or Powershell window if you set it using the GUI) +* `'node-gyp' is not recognized as an internal or external command, operable program or batch file.` + * Try running `npm install -g node-gyp`, and run `script/build` again. + * Other `node-gyp` errors on first build attempt, even though the right Node.js and Python versions are installed. * Do try the build command one more time, as experience shows it often works on second try in many of these cases.