2017-06-19 77 views
1

與文檔按照順序在這裏找到:http://symfony.com/doc/current/bundles/IvoryCKEditorBundle/installation.html無法運行的CKEditor:安裝

我目前已經輸入的命令:

composer require egeloen/ckeditor-bundle

目前解析

Using version ^5.0 for egeloen/ckeditor-bundle

之後,我輸入新的軟件包到我的AppKernel並運行命令:

php bin/console ckeditor:install

不幸的是這導致了這個錯誤:

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

使用Symfony的3.3-dev的,CKEDITOR束(5.0.3)

回答

5

展望https://github.com/egeloen/IvoryCKEditorBundle/blob/master/Resources/doc/installation.rst

我注意到它在14小時前已經改變了,所以我將它與版本作曲家剛剛下載5.0.3進行了比較,該版本沒有提及php bin/console ckeditor:install命令。

在Composer中將版本從^5.0切換到dev-master允許php bin/console ckeditor:install完美工作。

下面是從倉庫所有者聲明:

egeloen

The new command (ckeditor:install) will be part of the next 6.x release (probably comming this week) but the online doc is built from master so basically, the doc already exposes this command which is not part of the current stable release (5.x).

Long story short: You can upgrade to 5.x and don't execute the ckeditor:install comand as it is only part of the upcoming 6.x release (not yet released)