Closed vtruhmanov closed 4 years ago
Same error on 2.2.4.
If you try to install old version of yaml (3.3.16) get error: Problem 1
magento 2.2.6
Without symfony/yaml you get:
PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Yaml\Dumper' not found in /public_html/vendor/mirasvit/module-profiler/src/Profiler/Model/Storage.php:48
Stack trace:
#0 /public_html/vendor/mirasvit/module-profiler/src/Profiler/Model/Driver/Output/Html.php(39): Mirasvit\Profiler\Model\Storage->dump()
#1 /public_html/vendor/magento/framework/Profiler/Driver/Standard.php(195): Mirasvit\Profiler\Model\Driver\Output\Html->display(Object(Magento\Framework\Profiler\Driver\Standard\Stat))
#2 [internal function]: Magento\Framework\Profiler\Driver\Standard->display()
#3 {main}
thrown in /public_html/vendor/mirasvit/module-profiler/src/Profiler/Model/Storage.php on line 48
PHP Stack trace:
PHP 1. {main}() /public_html/bin/magento:0
PHP 2. Magento\Framework\Console\Cli->run() /public_html/bin/magento:23
If you want to install symfony/yaml:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove magento/product-community-edition 2.2.6
- Conclusion: don't install magento/product-community-edition 2.2.6
- Conclusion: don't install symfony/yaml v3.4.17
...
Indeed I'm facing the same issue. There is no possible candidate for this to make it work in magento 2.2.6 or 2.2.7. I can't iinstall symfony/yaml either because of symfony/console restrictions or because of symfony/dependency-injection
composer require symfony/yaml:dev-issue-8145
Error appears on installation on M2.2.2 with docker.
docker-compose exec --user www-data magento.ts.mirasvit.com /bin/sh -c ' cd /var/www/html; composer require mirasvit/module-profiler:dev-master#4ec3c2590b45ab139a3e147de6b2276fcdbca78a || exit 1; bin/magento module:enable --all; bin/magento setup:upgrade; if [ -f "/var/www/html/vendor/mirasvit/module-profiler/codeception/tests/acceptance.suite.yml.travis" ]; then cp /var/www/html/vendor/mirasvit/module-profiler/codeception/tests/acceptance.suite.yml.travis /var/www/html/vendor/mirasvit/module-profiler/codeception/tests/acceptance.suite.yml; cd /var/www/html/vendor/mirasvit/module-profiler/codeception/; composer install; fi; ' ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1