-
Notifications
You must be signed in to change notification settings - Fork 698
Closed
Description
The postinstall script is currently executing (as of #972) bash postinstall.sh. For obvious reasons, this won't work when attempting to install nodegit through cmd.exe. This commit in particular seems pretty ironic 😦.
Here's an installation log (while trying to build Atom, but that shouldn't matter):
Installing modules failed
> atom@1.8.0-dev preinstall
C:\Users\username\Documents\GitHub\atom
> node -e 'process.exit(0)'
> nodegit@0.12.0 install C:\Users\username\Documents\GitHub\atom\node_modules\nodegit
> node lifecycleScripts/install
[nodegit] Fetching binary from S3.
[nodegit] Completed installation successfully.
> nodegit@0.12.0 postinstall C:\Users\username\Documents\GitHub\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! Win
60F4
dows_NT 6.2.9200
npm ERR! argv "C:\\Users\\username\\Documents\\GitHub\\atom\\apm\\node_modules\\atom-package-manager\\bin\\node.exe" "C:\\Users\\username\\Documents\\GitHub\\atom\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\username\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\username\\.atom\\.apmrc" "install" "--target=0.36.8" "--arch=ia32" "--msvs_version=2015"
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels