- edited description
Unable to install
It seems that the install fails after setting up the parameters with the following:
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "less_filter" under "braincrafted_bootstrap"
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "less_filter" under "braincrafted_bootstrap"
.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
My server is using PHP 5.5, so I don't see a problem there. It may be an issue with the configuration for the install or something. I am also using the latest version of composer, so it shouldn't be causing this issue.
Comments (8)
-
reporter -
reporter I looked at all the PHP modules in Cpanel and it seems that the required ones (dom, mbstring, initl and all the XML ones are enabled), so I don't know whats wrong.
-
Are you using a release or the latest directly off the develop branch?
-
reporter Using the develop branch.
-
Doing a clean clone, I can't reproduce on my main dev machine. I'll try to reproduce on some other configurations.
-
reporter It seems that the newer source does not like copying everything in the config file. I have a script that automates the update and it seems that the config.yml and the other config files were out of date that it caused the install to break. I modified the script to only copy the parameters.yml and it does not give me an error.
-
reporter - changed status to resolved
-
That will do it. Many things changed in the config.yml file with the Symfony and component updates. You only need to retain parameters.yml across updates, it's the only file you need customize.
- Log in to comment