composer 报错

图片描述

[RuntimeException]
Failed to clone https://github.com/Magicalex/... via https, ssh protocols
, aborting.

  • https://github.com/Magicalex/...
    Cloning into '/mnt/hgfs/shared/vendor/magicalex/write-ini-file'...
    fatal: 'origin' does not appear to be a git repository
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

  • git@github.com:Magicalex/WriteiniFile.git
    Cloning into '/mnt/hgfs/shared/vendor/magicalex/write-ini-file'...
    fatal: 'origin' does not appear to be a git repository
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

阅读 3k
1 个回答

这种问题已经遇到好多次了,在这里也回答过好多次了,看来确实是个坑.
之前回答的类似的问题


不要在共享目录直接操作。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题