3
3

More than 5 years have passed since last update.

NeoBundleInstallで"cannot fork() for fetch-pack"というエラーが出るときの対処法

Posted at

NeoBundleでcaw.vimというプラグインを追加してインストールしようとしたところ、以下のようなエラーが出ました。

C:/Users/locatw/vimfiles/bundle/caw.vim
Cloning into 'C:/Users/locatw/vimfiles/bundle/caw.vim'...^@      0 [main] git-remote-https 13136 child_info_fork::abort: C:\cygwin\bin\cygsasl2-3.dll: Loaded to different address: parent(0x2B0000) != child(0x320000)^@error: cannot fork() for fetch-pack: Resource temporarily unavailable

どうもCygwinのgitを使ってしまっていて出るようです。

今回はWindowsのGVimを使っているので新たにWindows用のgitを入れてそちらを使うように設定したら正常にインストールできるようになりました。

  1. Git for Windowsをインストールする。
  2. 環境変数PATHを編集してCygwinのbinディレクトリよりも前にGit for Windowsのbinディレクトリのパスを追加する。

環境:

  • Windows7 64bit
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3