我正在設置水貂與behat一起使用,使用說明http://mink.behat.org/。正如你將看到的,大約有兩個屏幕顯示它已經安裝了沒有驅動程序的貂皮。我認爲這意味着它不能與任何事情交談。如何在Windows 7 64位安裝behat和mink驅動程序?
然後,它爲新手提供了一個composer.json文件。我試過了,當我運行時
php composer.phar install
這就是我所得到的。
D:\Projects\TestCoachmaster>php composer.phar update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for behat/mink-zombie-driver * -> satisfiable by behat/mink-zombie-driver v1.0.0.
- behat/mink-zombie-driver v1.0.0 requires symfony/process >=2.1.0,<2.2.0-dev -> no matching package found
.
Problem 2
- behat/mink-goutte-driver v1.0.0 requires fabpot/goutte 1.0.* -> no matching package found.
- behat/mink-goutte-driver v1.0.3 requires fabpot/goutte @dev -> no matching package found.
- behat/mink-goutte-driver v1.0.2 requires fabpot/goutte 1.0.*@dev -> no matching package found.
- behat/mink-goutte-driver v1.0.1 requires fabpot/goutte 1.0.x-dev -> no matching package found.
- Installation request for behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver v1.0.1, b
ehat/mink-goutte-driver v1.0.2, behat/mink-goutte-driver v1.0.3, behat/mink-goutte-driver v1.0.0.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
D:\Projects\TestCoachmaster>
我試過調整開發的最小穩定性,並沒有幫助。
我在windows 7,64位下運行 - 我必須做很多調整才能安裝bhat和mink。我認爲他們有 - 它的驅動器沒有。
幫忙感激地收到了。 Ian
當我嘗試,我得到了關於goutte-driver的錯誤。一旦採取了它,它沒有抱怨,但它刪除了behat/behat和gerkin,讓我沒有任何有用的東西。 – Ian