Dar*_*s.V 3 cmd symfony codeception
我正在尝试按照此处的步骤在 symfony 3 框架上安装 codeception:
http://codeception.com/for/symfony
当我跑步时
php bin/codecept bootstrap --empty
Run Code Online (Sandbox Code Playgroud)
我收到错误
无法打开输入文件: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
Run Code Online (Sandbox Code Playgroud)
在这种情况下我该如何使用代码接收?
经过更多实验发现我可以这样运行该命令:
php vendor/codeception/codeception/codecept bootstrap --empty
Run Code Online (Sandbox Code Playgroud)
如果按照说明将其添加到 bin 文件夹中,那就太好了。
| 归档时间: |
|
| 查看次数: |
3906 次 |
| 最近记录: |