selecto
selecto

Reputation: 59

Symfony: There are no commands defined in the "ckeditor" namespace

I have the following error when i try to install the 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.*",
         //....

Upvotes: 1

Views: 4328

Answers (4)

Marco Valeri
Marco Valeri

Reputation: 491

Add the following line of code:

config/bundles.php:

return [ // ... FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], ];

At this point run again:

php bin/console ckeditor:install

It should be work

Upvotes: 0

Sam Janssens
Sam Janssens

Reputation: 1491

go here, and read and follow the docs, as anyone would do

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

But also, i suggest you study up on composer and symfony first ....

Upvotes: -1

LaurineMF
LaurineMF

Reputation: 49

I had the same problem. So I just tried to go to the next step (install assets) and it works.

When you do the composer require, it's already installed.

You don't need to do the command : php bin/console ckeditor:install

Upvotes: 3

Dennis Enderink
Dennis Enderink

Reputation: 346

I bet you have version 4.0.6 installed too, you can just skip that step as you can see in the docs: https://github.com/egeloen/IvoryCKEditorBundle/blob/4.0.6/Resources/doc/installation.rst.

Upvotes: 2

Related Questions