【发布时间】:2016-08-15 08:06:45
【问题描述】:
我正在尝试在我的供应商文件夹上运行 behat。我已经在全球范围内安装了 composer,已经安装了 behat 包,但是每次我运行 bin/behat 时,我都会不断收到来自 composer 的这条消息
You must set up the project dependencies, run the following commands:
curl -s http://getcomposer.org/installer | php
php composer.phar install
我不确定如何解决这个问题。我看到文件在供应商文件夹中,当我在终端上键入“composer”时,我看到了手册。
如果有人能帮我解决这个问题,我将不胜感激。谢谢!
【问题讨论】:
-
你说“已经安装了 behat 包”,这是否意味着你已经从项目文件夹的根目录运行了
composer install? -
@JeffPuckettII 是的,我是从根项目文件夹中完成的
-
这里有很多例子inanzzz.com/index.php/posts/behat它是如何安装、准备、使用、运行等的。
标签: php terminal composer-php behat