Skip to content

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

@Joncom

Description

@Joncom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions