Symfony:" ckeditor"中没有定义命令。命名空间

时间:2017-07-24 14:50:08

标签: symfony ckeditor composer-php bundle

当我尝试安装IvoryCKEditorBundle

时出现以下错误
php bin/console ckeditor:install

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "ckeditor" namespace.

composer.json:

"require": {
        "php": ">=5.5.9",
        "egeloen/ckeditor-bundle": "^4.0",
        "symfony/symfony": "3.3.*",
         //....

3 个答案:

答案 0 :(得分:3)

我遇到了同样的问题。所以我只是尝试进入下一步(安装资产)并且它可以工作。

当你执行作曲家需要时,它已经安装。

您不需要执行命令:php bin / console ckeditor:install

答案 1 :(得分:2)

我打赌你也安装了4.0.6版本,你可以跳过该步骤,正如你在文档中看到的那样:https://github.com/egeloen/IvoryCKEditorBundle/blob/4.0.6/Resources/doc/installation.rst

答案 2 :(得分:0)

去这里,阅读并按照文档进行操作,就像任何人一样

http://symfony.com/doc/master/bundles/IvoryCKEditorBundle/installation.html

但是,我建议你先研究作曲家和symfony ......