Я развернул свой проект на основе Symfony4 на сервере.Когда я запускаю composer install на нем, у меня появляется эта ошибка в кеше: clear:
Script cache:clear returned with error code 1
!!
!! In ContainerBuilder.php line 213:
!!
!! Container extension "framework" is not registered
!!
!!
Я проверил, и ни один файл не пропал.На моем компьютере этой ошибки нет, и все работает с точно таким же кодом.
Composer.json:
"require": {
"php": "^7.1.3",
"blackknight467/star-rating-bundle": "2.*",
"doctrine/doctrine-bundle": "~1.6",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"doctrine/orm": "^2.5",
"friendsofsymfony/user-bundle": "^2.1",
"jmose/command-scheduler-bundle": "^2.0",
"phpoffice/phpspreadsheet": "^1.1",
"pugx/multi-user-bundle": "dev-master",
"sensio/framework-extra-bundle": "~5.1",
"setasign/fpdi": "1.6.*",
"setasign/fpdi-tcpdf": "1.6.2",
"spipu/html2pdf": "5.0.*",
"stof/doctrine-extensions-bundle": "^1.3",
"symfony/apache-pack": "^1.0",
"symfony/asset": "^4.0",
"symfony/console": "^4.0",
"symfony/expression-language": "^4.0",
"symfony/flex": "^1.0",
"symfony/form": "^4.0",
"symfony/framework-bundle": "^4.0",
"symfony/maker-bundle": "^1.1",
"symfony/monolog-bundle": "~3.1",
"symfony/orm-pack": "^1.0",
"symfony/profiler-pack": "^1.0",
"symfony/swiftmailer-bundle": "^3.1",
"symfony/translation": "^4.0",
"symfony/twig-bundle": "^4.0",
"symfony/validator": "^4.0",
"symfony/webpack-encore-pack": "^1.0",
"symfony/yaml": "^4.0"
},
"require-dev": {
"symfony/dotenv": "^4.0",
"symfony/phpunit-bridge": "^4.0",
"symfony/web-server-bundle": "^4.0"
},