Hi guys!
When i run composer require pug-php/pug-symfonyin my symfony 4 project, I get error
Using version ^2.4 for pug-php/pug-symfony
./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
- Installation request for __root__ dev-master -> satisfiable by __root__[dev-master].
- pug-php/pug-symfony 2.4.0 requires symfony/symfony ^2.7 || ^3.0 || ^4.0 -> satisfiable by symfony/symfony[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v2.7.40, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.2, v3.4.3, v4.0.0, v4.0.1, v4.0.2, v4.0.3].
- symfony/symfony v2.7.0 conflicts with __root__[dev-master].
- symfony/symfony v2.7.1 conflicts with __root__[dev-master].
- symfony/symfony v2.7.10 conflicts with __root__[dev-master].
- symfony/symfony v2.7.11 conflicts with __root__[dev-master].
- symfony/symfony v2.7.12 conflicts with __root__[dev-master].
- symfony/symfony v2.7.13 conflicts with __root__[dev-master].
- symfony/symfony v2.7.14 conflicts with __root__[dev-master].
- symfony/symfony v2.7.15 conflicts with __root__[dev-master].
- symfony/symfony v2.7.16 conflicts with __root__[dev-master].
- symfony/symfony v2.7.17 conflicts with __root__[dev-master].
- symfony/symfony v2.7.18 conflicts with __root__[dev-master].
- symfony/symfony v2.7.19 conflicts with __root__[dev-master].
- symfony/symfony v2.7.2 conflicts with __root__[dev-master].
- symfony/symfony v2.7.20 conflicts with __root__[dev-master].
- symfony/symfony v2.7.21 conflicts with __root__[dev-master].
- symfony/symfony v2.7.22 conflicts with __root__[dev-master].
- symfony/symfony v2.7.23 conflicts with __root__[dev-master].
- symfony/symfony v2.7.24 conflicts with __root__[dev-master].
- symfony/symfony v2.7.25 conflicts with __root__[dev-master].
- symfony/symfony v2.7.26 conflicts with __root__[dev-master].
- symfony/symfony v2.7.27 conflicts with __root__[dev-master].
- symfony/symfony v2.7.28 conflicts with __root__[dev-master].
- symfony/symfony v2.7.29 conflicts with __root__[dev-master].
- symfony/symfony v2.7.3 conflicts with __root__[dev-master].
- symfony/symfony v2.7.30 conflicts with __root__[dev-master].
- symfony/symfony v2.7.31 conflicts with __root__[dev-master].
- symfony/symfony v2.7.32 conflicts with __root__[dev-master].
- symfony/symfony v2.7.33 conflicts with __root__[dev-master].
- symfony/symfony v2.7.34 conflicts with __root__[dev-master].
- symfony/symfony v2.7.35 conflicts with __root__[dev-master].
- symfony/symfony v2.7.36 conflicts with __root__[dev-master].
- symfony/symfony v2.7.37 conflicts with __root__[dev-master].
- symfony/symfony v2.7.38 conflicts with __root__[dev-master].
- symfony/symfony v2.7.39 conflicts with __root__[dev-master].
- symfony/symfony v2.7.4 conflicts with __root__[dev-master].
- symfony/symfony v2.7.40 conflicts with __root__[dev-master].
- symfony/symfony v2.7.5 conflicts with __root__[dev-master].
- symfony/symfony v2.7.6 conflicts with __root__[dev-master].
- symfony/symfony v2.7.7 conflicts with __root__[dev-master].
- symfony/symfony v2.7.8 conflicts with __root__[dev-master].
- symfony/symfony v2.7.9 conflicts with __root__[dev-master].
- symfony/symfony v2.8.0 conflicts with __root__[dev-master].
- symfony/symfony v2.8.1 conflicts with __root__[dev-master].
- symfony/symfony v2.8.10 conflicts with __root__[dev-master].
- symfony/symfony v2.8.11 conflicts with __root__[dev-master].
- symfony/symfony v2.8.12 conflicts with __root__[dev-master].
- symfony/symfony v2.8.13 conflicts with __root__[dev-master].
- symfony/symfony v2.8.14 conflicts with __root__[dev-master].
- symfony/symfony v2.8.15 conflicts with __root__[dev-master].
- symfony/symfony v2.8.16 conflicts with __root__[dev-master].
- symfony/symfony v2.8.17 conflicts with __root__[dev-master].
- symfony/symfony v2.8.18 conflicts with __root__[dev-master].
- symfony/symfony v2.8.19 conflicts with __root__[dev-master].
- symfony/symfony v2.8.2 conflicts with __root__[dev-master].
- symfony/symfony v2.8.20 conflicts with __root__[dev-master].
- symfony/symfony v2.8.21 conflicts with __root__[dev-master].
- symfony/symfony v2.8.22 conflicts with __root__[dev-master].
- symfony/symfony v2.8.23 conflicts with __root__[dev-master].
- symfony/symfony v2.8.24 conflicts with __root__[dev-master].
- symfony/symfony v2.8.25 conflicts with __root__[dev-master].
- symfony/symfony v2.8.26 conflicts with __root__[dev-master].
- symfony/symfony v2.8.27 conflicts with __root__[dev-master].
- symfony/symfony v2.8.28 conflicts with __root__[dev-master].
- symfony/symfony v2.8.29 conflicts with __root__[dev-master].
- symfony/symfony v2.8.3 conflicts with __root__[dev-master].
- symfony/symfony v2.8.30 conflicts with __root__[dev-master].
- symfony/symfony v2.8.31 conflicts with __root__[dev-master].
- symfony/symfony v2.8.32 conflicts with __root__[dev-master].
- symfony/symfony v2.8.33 conflicts with __root__[dev-master].
- symfony/symfony v2.8.4 conflicts with __root__[dev-master].
- symfony/symfony v2.8.5 conflicts with __root__[dev-master].
- symfony/symfony v2.8.6 conflicts with __root__[dev-master].
- symfony/symfony v2.8.7 conflicts with __root__[dev-master].
- symfony/symfony v2.8.8 conflicts with __root__[dev-master].
- symfony/symfony v2.8.9 conflicts with __root__[dev-master].
- symfony/symfony v3.0.0 conflicts with __root__[dev-master].
- symfony/symfony v3.0.1 conflicts with __root__[dev-master].
- symfony/symfony v3.0.2 conflicts with __root__[dev-master].
- symfony/symfony v3.0.3 conflicts with __root__[dev-master].
- symfony/symfony v3.0.4 conflicts with __root__[dev-master].
- symfony/symfony v3.0.5 conflicts with __root__[dev-master].
- symfony/symfony v3.0.6 conflicts with __root__[dev-master].
- symfony/symfony v3.0.7 conflicts with __root__[dev-master].
- symfony/symfony v3.0.8 conflicts with __root__[dev-master].
- symfony/symfony v3.0.9 conflicts with __root__[dev-master].
- symfony/symfony v3.1.0 conflicts with __root__[dev-master].
- symfony/symfony v3.1.1 conflicts with __root__[dev-master].
- symfony/symfony v3.1.10 conflicts with __root__[dev-master].
- symfony/symfony v3.1.2 conflicts with __root__[dev-master].
- symfony/symfony v3.1.3 conflicts with __root__[dev-master].
- symfony/symfony v3.1.4 conflicts with __root__[dev-master].
- symfony/symfony v3.1.5 conflicts with __root__[dev-master].
- symfony/symfony v3.1.6 conflicts with __root__[dev-master].
- symfony/symfony v3.1.7 conflicts with __root__[dev-master].
- symfony/symfony v3.1.8 conflicts with __root__[dev-master].
- symfony/symfony v3.1.9 conflicts with __root__[dev-master].
- symfony/symfony v3.2.0 conflicts with __root__[dev-master].
- symfony/symfony v3.2.1 conflicts with __root__[dev-master].
- symfony/symfony v3.2.10 conflicts with __root__[dev-master].
- symfony/symfony v3.2.11 conflicts with __root__[dev-master].
- symfony/symfony v3.2.12 conflicts with __root__[dev-master].
- symfony/symfony v3.2.13 conflicts with __root__[dev-master].
- symfony/symfony v3.2.14 conflicts with __root__[dev-master].
- symfony/symfony v3.2.2 conflicts with __root__[dev-master].
- symfony/symfony v3.2.3 conflicts with __root__[dev-master]. 00:04
- symfony/symfony v3.2.4 conflicts with __root__[dev-master].
- symfony/symfony v3.2.5 conflicts with __root__[dev-master].
- symfony/symfony v3.2.6 conflicts with __root__[dev-master].
- symfony/symfony v3.2.7 conflicts with __root__[dev-master].
- symfony/symfony v3.2.8 conflicts with __root__[dev-master].
- symfony/symfony v3.2.9 conflicts with __root__[dev-master].
- symfony/symfony v3.3.0 conflicts with __root__[dev-master].
- symfony/symfony v3.3.1 conflicts with __root__[dev-master].
- symfony/symfony v3.3.10 conflicts with __root__[dev-master].
- symfony/symfony v3.3.11 conflicts with __root__[dev-master].
- symfony/symfony v3.3.12 conflicts with __root__[dev-master].
- symfony/symfony v3.3.13 conflicts with __root__[dev-master].
- symfony/symfony v3.3.14 conflicts with __root__[dev-master].
- symfony/symfony v3.3.15 conflicts with __root__[dev-master].
- symfony/symfony v3.3.2 conflicts with __root__[dev-master].
- symfony/symfony v3.3.3 conflicts with __root__[dev-master].
- symfony/symfony v3.3.4 conflicts with __root__[dev-master].
- symfony/symfony v3.3.5 conflicts with __root__[dev-master].
- symfony/symfony v3.3.6 conflicts with __root__[dev-master].
- symfony/symfony v3.3.7 conflicts with __root__[dev-master].
- symfony/symfony v3.3.8 conflicts with __root__[dev-master].
- symfony/symfony v3.3.9 conflicts with __root__[dev-master].
- symfony/symfony v3.4.0 conflicts with __root__[dev-master].
- symfony/symfony v3.4.1 conflicts with __root__[dev-master].
- symfony/symfony v3.4.2 conflicts with __root__[dev-master].
- symfony/symfony v3.4.3 conflicts with __root__[dev-master].
- symfony/symfony v4.0.0 conflicts with __root__[dev-master].
- symfony/symfony v4.0.1 conflicts with __root__[dev-master].
- symfony/symfony v4.0.2 conflicts with __root__[dev-master].
- symfony/symfony v4.0.3 conflicts with __root__[dev-master].
- Installation request for pug-php/pug-symfony ^2.4 -> satisfiable by pug-php/pug-symfony[2.4.0].
Installation failed, reverting ./composer.json to its original content.
I create my application use composer create-project symfony/skeleton my-project
from symfony docs
My composer.json
{
"type": "project",
"require": {
"php": "^7.1.3",
"ext-iconv": "*",
"sensio/framework-extra-bundle": "^5.1",
"symfony/console": "^4.0",
"symfony/dependency-injection": "^4.0",
"symfony/flex": "^1.0",
"symfony/form": "^4.0",
"symfony/framework-bundle": "^4.0",
"symfony/lts": "^4@dev",
"symfony/orm-pack": "^1.0",
"symfony/translation": "^4.0",
"symfony/twig-bundle": "^4.0",
"symfony/validator": "^4.0",
"symfony/yaml": "^4.0"
},
"require-dev": {
"symfony/debug": "^4.0",
"symfony/dotenv": "^4.0",
"symfony/profiler-pack": "^1.0",
"symfony/maker-bundle": "^1.0",
"symfony/web-profiler-bundle": "^4.0"
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"id": "01C330YXSR663BC31PR409BGSM",
"allow-contrib": false
}
}
}
bug