There is a project on yii2, it has a number of dependencies, in particular

"require": { ... "bower-asset/tinymce": ">=4.7.4,<5.0", ... } 

in composer-lock the version is 4.7.4, but when I install via composer install, during the installation version 4.7.4 is loaded, and in fact in the code version 5.0.1

cache cleared, there is fxp / composer-asset-plugin v1.4.0

What could be the problem, how can I fix it?

  • Supplement your question with the result of the commands: 1) composer depends -- bower-asset/tinymce - see which packages are dependent on bower-asset / tinymce, with an indication of the required versions. 2) composer show -- bower-asset/tinymce - view the installed version of the package. - Jigius
  • The problem was finally solved by removal and installation: composer remove package, composer require package - Elena

0