Closed kniziol closed 5 years ago
Please have a look at the fos installation documentation. Not a bug related to this project
@core23 OK, but this:
$ composer require sonata-project/news-bundle
(...)
Nothing to install or update
Generating autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In ArrayNode.php line 228:
!!
!! The child node "default_formatter" at path "sonata_formatter" must be confi
!! gured.
is directly related to this project, IMO.
@core23 OK, but this:
$ composer require sonata-project/news-bundle (...) Nothing to install or update Generating autoload files ocramius/package-versions: Generating version class... ocramius/package-versions: ...done generating version class Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 1 !! !! In ArrayNode.php line 228: !! !! The child node "default_formatter" at path "sonata_formatter" must be confi !! gured.
is directly related to this project, IMO.
Hi, i have the same problem. Did you solved it ?
Please have a look at: https://sonata-project.org/bundles/formatter/3-x/doc/reference/installation.html
@core23 Does the configuration may be loaded/created automatically by Symfony Recipe?
There is no recipe so far: https://github.com/symfony/recipes-contrib/tree/master/sonata-project :disappointed:
@core23 Could you create it, please?
I think it's not so complicated, so you can try it @kniziol
Actually I don't have much time for this. We try to release a new major release of the block bundle
Please have a look at: https://sonata-project.org/bundles/formatter/3-x/doc/reference/installation.html
Solved ! Thanks !
Environment
Sonata packages
Symfony packages
PHP version
Subject
Cannot install
sonata-project/news-bundle
package, because of errors:I created
config/packages/fos_user.yaml
file manually:and then:
Steps to reproduce
Run command:
as described here: https://sonata-project.org/bundles/news/3-x/doc/reference/installation.html
Expected results
Installation of all packages and all recipes will be successful
Actual results
Installation failed