新启用的Debian 10 系统,按照以往的操作方式使用 composer 安装 Drupal 时出错,错误信息是:
Failed: [RuntimeException] git was not found in your PATH, skipping source download
运行 apt install git 即可以安装 git 了。
现在再运行 composer 命令,会提示你输入你在 drupal 官网的用户名和密码,这样 composer 就可以继续运行下去了:
Authentication required (git.drupalcode.org):
Username: weibing82
Password:
添加新评论