文档 下载安装 问答 主机

2.3安装报错,搜到很多文章都不行

下载安装包后访问域名,提示Vendor autoload is not found. Please run ‘composer install’ under application root directory.
到目录下面去composer install,提示:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 175 installs, 0 updates, 0 removals

  • Installing magento/magento-composer-installer (0.1.13): Loading from cache
    Plugin installation failed, rolling back
  • Removing magento/magento-composer-installer (0.1.13)

[RuntimeException]
Could not delete /home/magento/site/vendor/magento/magento-composer-instal
ler/src/MagentoHackathon:

install [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev] [–no-custom-installers] [–no-autoloader] [–no-scripts] [–no-progress] [–no-suggest] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–ignore-platform-reqs] [–] []…

环境:centos7,php7,nginx

已经知道怎么做了

分享一下解决办法,帮助一下搜索到这个问题的其他人吧。

ps ax|grep git
把git进程全部kill掉再运行即可
可能需要反复多次操作