Issue Building from Source Windows 10


#1

I have attempted to build atom using the script\build script but I keep getting the following error message:

Node: v5.9.1
npm: v2.13.3
Python: v2.7.11
Installing build modules…
=> Took 8959ms.

Installing apm…
=> Took 1727ms.

Deleting old packages…
=> Took 4257ms.

Installing modules failed
atom@1.8.0-dev preinstall C:\atom
node -e ‘process.exit(0)’

nodegit@0.12.0 install C:\atom\node_modules\nodegit
node lifecycleScripts/install

[nodegit] Fetching binary from S3.
[nodegit] Completed installation successfully.

nodegit@0.12.0 postinstall C:\atom\node_modules\nodegit
bash postinstall.sh

npm WARN engine nodegit@0.12.0: wanted: {“node”:">= 0.12"} (current: {“node”:“0.10.40”,“npm”:“2.13.3”})
‘bash’ is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv “C:\atom\apm\node_modules\atom-package-manager\bin\node.exe” “C:\atom\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js” “–globalconfig” “C:\Users\garri\.atom\.apm\.apmrc” “–userconfig” “C:\Users\garri\.atom\.apmrc” “install” “–target=0.36.8” “–arch=ia32” "–msvs_version=2013"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! nodegit@0.12.0 postinstall: bash postinstall.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodegit@0.12.0 postinstall script ‘bash postinstall.sh’.
npm ERR! This is most likely a problem with the nodegit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bash postinstall.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls nodegit
npm ERR! There is likely additional logging output above.

I am not particularly sure whats causing this error except that its coming from the nodegit module