AssetManager: Can't install via composer due to version locks
New Laminas project based off the skeleton with the developer toolbar, doctrine, and doctrine migrations installed I get this:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install rwoverdijk/assetmanager 2.0.0
- Installation request for symfony/console (locked at v5.1.0) -> satisfiable by symfony/console[v5.1.0].
- Conclusion: remove laminas/laminas-mvc 3.1.1
- Installation request for rwoverdijk/assetmanager ^2.0 -> satisfiable by rwoverdijk/assetmanager[2.0.0, 2.x-dev].
- Conclusion: don't install laminas/laminas-mvc 3.1.1
- rwoverdijk/assetmanager 2.x-dev requires zendframework/zend-mvc 2.* -> satisfiable by zendframework/zend-mvc[2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.1, 2.2.10, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.4.0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0rc5, 2.4.0rc6, 2.4.0rc7, 2.4.1, 2.4.10, 2.4.11, 2.4.12, 2.4.13, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.7.10, 2.7.11, 2.7.12, 2.7.13, 2.7.14, 2.7.15, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9].
- don't install zendframework/zend-mvc 2.0.3|don't install laminas/laminas-mvc 3.1.1
(And it goes on for like 30+ lines about not installing the laminas-mvc package)
When I run composer why symfony/console:
doctrine/doctrine-module 4.0.2 requires symfony/console (^5.0)
doctrine/doctrine-orm-module 3.0.3 requires symfony/console (^5.0)
doctrine/migrations 2.2.1 requires symfony/console (^3.4||^4.0||^5.0)
doctrine/orm v2.7.3 requires symfony/console (^3.0|^4.0|^5.0)
And why laminas/laminas-mvc:
poetikdragon/pedigree dev-master requires laminas/laminas-mvc (^3.0.1)
doctrine/doctrine-module 4.0.2 requires laminas/laminas-mvc (^3.1)
laminas/laminas-developer-tools 1.3.2 requires laminas/laminas-mvc (^2.7 || ^3.0.1)
laminas/laminas-mvc 3.1.1 replaces zendframework/zend-mvc (self.version)
neilime/twbs-helper-module v3.1.0 requires laminas/laminas-mvc (^3.1)
I don’t know why it can’t resolve an installable package? Any ideas?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (1 by maintainers)
@PoetikDragon @LukeTowers I’ve just pushed some class aliasing for all the old interfaces to link to the new ones on the
2.0/devbranch.@PoetikDragon If you could try pulling in those changes via composer and letting us know if that fixes your problem that would be great
@PoetikDragon that fork of Assetic is just our fork (@assetic-php) but with the 2.0 branch merged into master.
FYI I found a working fork of AssetManager: https://github.com/jield-webdev/laminas-assetmanager It relies on this fork of Assetic: https://github.com/jield-webdev/assetic
@LukeTowers I’ll take a look tomorrow morning
@larryb did
composer why-not <package>ever work for you when you were having all those conflicts?