Skip to content
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

"apm install ide-flow" Fails On Windows 7 #51

Open
Joncom opened this issue Sep 20, 2016 · 0 comments
Open

"apm install ide-flow" Fails On Windows 7 #51

Joncom opened this issue Sep 20, 2016 · 0 comments

Comments

@Joncom
Copy link

Joncom commented Sep 20, 2016

Perhaps I'm the first one to try using this package with Windows, since support is new?

Installation fails fast.

$ apm install ide-flow
Installing ide-flow to C:\Users\Jonathan\.atom\packages failed

npm ERR! git submodule -q update --init --recursive: C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 18: .: git-sh-setup: file not found

npm ERR! git submodule -q update --init --recursive:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\Jonathan\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\Jonathan\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Jonathan\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Jonathan\\.atom\\.apmrc" "install" "C:\\Users\\Jonathan\\AppData\\Local\\Temp\\d-116821-3060-y1fx3e\\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" "--msvs_version=2013"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code 1

npm ERR! Command failed: git -c core.longpaths=true submodule -q update --init --recursive
npm ERR! C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 18: .: git-sh-setup: file not found
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Jonathan\AppData\Local\Temp\apm-install-dir-116821-3060-kz663c\npm-debug.log

It seems that "git-sh-setup" is not found. But what's strange is that Git seems to be working normally. And indeed the "missing" file does exist:

$ find / -name "git-sh-setup"
/libexec/git-core/git-sh-setup
/mingw32/libexec/git-core/git-sh-setup

PS:

$ apm --version
apm  1.12.5
npm  3.10.5
node 4.4.5
python 2.7.6
git 2.6.3.windows.1
visual studio 2013

$ flow version
Flow, a static type checker for JavaScript, version 0.32.0
@Joncom Joncom changed the title apm install ide-flow Fails On Windows 7 "apm install ide-flow" Fails On Windows 7 Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant