【发布时间】:2017-02-24 17:01:50
【问题描述】:
我正在尝试按照此处的步骤在 symfony 3 框架上安装 codeception:
http://codeception.com/for/symfony
当我跑步时
php bin/codecept bootstrap --empty
我收到错误
无法打开输入文件:bin/codecept
我尝试以管理员身份在 Windows 命令行上安装它。
但是从输出看来,由于警告,bin 目录中的文件 codecept 没有被创建:
E:\projektai\php projektai\htdocs\timetracker>composer require codeception/codec
eption --dev
Warning: This development build of composer is over 60 days old. It is recommend
ed to update it by running "C:\ProgramData\Composer\bin\composer.phar self-updat
e" to get the latest version.
Using version ^2.2 for codeception/codeception
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
Trying to install assets as relative symbolic links.
--------- ----------------- ------------------
Bundle Method / Error
--------- ----------------- ------------------
WARNING FrameworkBundle absolute symlink
--------- ----------------- ------------------
[OK] All assets were successfully installed.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFi
le
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarg
et
在这种情况下如何使用代码接收?
【问题讨论】:
标签: symfony cmd codeception