phpyii2composer-phpbower-install

Installation failed, reverting ./composer.json to its original content [Composer\Repository\InvalidRepositoryException]


When trying to add a library symfony/var-dumper composer long puts packages with bower-asset and in and then gives this error - [Composer\Repository\InvalidRepositoryException] No valid bower.json was found in any branch or tag of https://github.com/pammacdotnet/bootstrap-slider.git, could not load a package from it. enter image description here


Solution

  • Regarding this https://github.com/fxpio/composer-asset-plugin/issues/329 and your warning message on the beggining of your screenshot I believe you should update your composer in order to fix the warning. I might fix the error itself